1
0
forked from poc/pds

Merge pull request 'Added max length for remark for invoice pending reason page' (#199) from ranjith-dev into master

Reviewed-on: poc/pds#199
This commit is contained in:
2026-01-20 05:12:30 +00:00

View File

@@ -135,9 +135,11 @@ class InvoicePendingReason extends Page
TextInput::make('remark') TextInput::make('remark')
->label('Remark') ->label('Remark')
->reactive() ->reactive()
->extraAttributes([ ->maxLength(20)
'wire:keydown.enter.prevent' => 'addRemark($event.target.value)', ->helperText('Max 20 characters allowed.')
]) ->extraAttributes([
'wire:keydown.enter.prevent' => 'addRemark($event.target.value)',
])
->autofocus() ->autofocus()
->required(), ->required(),
]) ])