From e4b39c5b5264fa9e62e86b9e21bee32346370645 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Tue, 20 Jan 2026 10:42:10 +0530 Subject: [PATCH] Added max length for remark for invoice pending reason page --- app/Filament/Pages/InvoicePendingReason.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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(), ]) -- 2.49.1