Merge pull request 'Commented enter event logic in cycle count page' (#474) from ranjith-dev into master
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled

Reviewed-on: #474
This commit was merged in pull request #474.
This commit is contained in:
2026-03-11 09:39:30 +00:00

View File

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