Add enter key hint for scan serial number input in ReworkLocatorInvoiceValidationResource form to testing purpose

This commit is contained in:
dhanabalan
2025-09-30 11:49:13 +05:30
parent 85ebccd22c
commit 2ad38c51c1

View File

@@ -95,6 +95,7 @@ class ReworkLocatorInvoiceValidationResource extends Resource
->readOnly(fn (callable $get) => (!$get('plant') || !$get('rework_type') || ($get('rework_type') == 'invoice' && !$get('invoice_number')) || $get('scan_serial_no')))
->extraAttributes([
'wire:keydown.enter' => 'processPalletno($event.target.value)',
'enterkeyhint' => 'done',
]),
Forms\Components\TextInput::make('scan_serial_no')
->label('Scan Serial No')