1
0
forked from poc/pds

Commented enter event logic in cycle count page

This commit is contained in:
dhanabalan
2026-03-11 15:09:17 +05:30
parent 6dff4fb77e
commit ec8bfc8296

View File

@@ -73,10 +73,10 @@ class CycleCount extends Page
->label('Location')
->reactive()
->required()
->readOnly(fn (callable $get) => ! $get('plant_id'))
->extraAttributes([
'wire:keydown.enter' => 'processLocation($event.target.value)',
]),
->readOnly(fn (callable $get) => ! $get('plant_id')),
// ->extraAttributes([
// 'wire:keydown.enter' => 'processLocation($event.target.value)',
// ]),
TextInput::make('bin')
->label('Bin')
->readOnly(fn (callable $get) => ! $get('plant_id') || ! $get('location'))