Commented enter event logic in cycle count page
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Gemini PR Review / Gemini PR Review (pull_request) Has been cancelled
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Has been cancelled
Laravel Larastan / larastan (pull_request) Has been cancelled
Laravel Pint / pint (pull_request) Has been cancelled

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