diff --git a/app/Filament/Pages/InvoicePendingReason.php b/app/Filament/Pages/InvoicePendingReason.php index b87e403..851d792 100644 --- a/app/Filament/Pages/InvoicePendingReason.php +++ b/app/Filament/Pages/InvoicePendingReason.php @@ -135,9 +135,11 @@ class InvoicePendingReason extends Page TextInput::make('remark') ->label('Remark') ->reactive() - ->extraAttributes([ - 'wire:keydown.enter.prevent' => 'addRemark($event.target.value)', - ]) + ->maxLength(20) + ->helperText('Max 20 characters allowed.') + ->extraAttributes([ + 'wire:keydown.enter.prevent' => 'addRemark($event.target.value)', + ]) ->autofocus() ->required(), ])