Skip to content

Commit

Permalink
update textarea
Browse files Browse the repository at this point in the history
  • Loading branch information
atmonshi committed Dec 18, 2023
1 parent 1aba7b7 commit 670e59f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Filament/Resources/LetterResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ public static function form(Form $form): Form

Textarea::make('message')
->label(__('message'))
->rows(10)
->disabled()
->maxLength(65535)
->columnSpan(['sm' => 2]),
Expand All @@ -117,6 +118,7 @@ public static function form(Form $form): Form
->columnSpan(['sm' => 2]),
Textarea::make('reply_message')
->label(__('reply_message'))
->rows(10)
->required()
->maxLength(65535)
->columnSpan(['sm' => 2]),
Expand Down
1 change: 1 addition & 0 deletions src/Livewire/ContactsForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ protected function getFormSchema(): array

Textarea::make('message')
->columnSpan(2)
->rows(10)
->required()
->label(__('message')),
])
Expand Down

0 comments on commit 670e59f

Please sign in to comment.