Add enter key hint for scan serial number input in ReworkLocatorInvoiceValidationResource form to testing purpose
This commit is contained in:
@@ -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')))
|
->readOnly(fn (callable $get) => (!$get('plant') || !$get('rework_type') || ($get('rework_type') == 'invoice' && !$get('invoice_number')) || $get('scan_serial_no')))
|
||||||
->extraAttributes([
|
->extraAttributes([
|
||||||
'wire:keydown.enter' => 'processPalletno($event.target.value)',
|
'wire:keydown.enter' => 'processPalletno($event.target.value)',
|
||||||
|
'enterkeyhint' => 'done',
|
||||||
]),
|
]),
|
||||||
Forms\Components\TextInput::make('scan_serial_no')
|
Forms\Components\TextInput::make('scan_serial_no')
|
||||||
->label('Scan Serial No')
|
->label('Scan Serial No')
|
||||||
|
|||||||
Reference in New Issue
Block a user