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')
->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'))