diff --git a/app/Filament/Pages/StickerReprint.php b/app/Filament/Pages/StickerReprint.php index 73977bf..ddff5b4 100644 --- a/app/Filament/Pages/StickerReprint.php +++ b/app/Filament/Pages/StickerReprint.php @@ -281,7 +281,7 @@ class StickerReprint extends Page implements HasForms } }) ->extraAttributes(fn ($get) => [ - 'id' => 'scan_locator_no', + 'id' => 'production_order', 'class' => $get('productionError') ? 'border-red-500' : '', ]) ->hint(fn ($get) => $get('productionError') ? $get('productionError') : null) @@ -421,6 +421,7 @@ class StickerReprint extends Page implements HasForms // 'operator_id'=> $operatorName, 'recent_qr' => $this->recQr, ]); + $this->dispatch('focus-qr-input'); $this->triggerChartUpdate(); } } diff --git a/resources/views/filament/pages/sticker-reprint.blade.php b/resources/views/filament/pages/sticker-reprint.blade.php index 1780030..434d822 100644 --- a/resources/views/filament/pages/sticker-reprint.blade.php +++ b/resources/views/filament/pages/sticker-reprint.blade.php @@ -34,22 +34,33 @@ + @push('scripts')