diff --git a/app/Filament/Pages/ProductionQuantityPage.php b/app/Filament/Pages/ProductionQuantityPage.php index 4cd5c48..a77b537 100644 --- a/app/Filament/Pages/ProductionQuantityPage.php +++ b/app/Filament/Pages/ProductionQuantityPage.php @@ -339,7 +339,8 @@ class ProductionQuantityPage extends Page implements HasForms ->label('Item Code') ->columnSpan(1) ->autofocus(true) - ->reactive() + //->reactive() + ->live(onBlur: true) // avoids per-keystroke triggering ->default(fn () => $this->clear_qr) ->extraAttributes([ 'wire:keydown.enter' => 'processAllValues($event.target.value)', @@ -1281,6 +1282,7 @@ class ProductionQuantityPage extends Page implements HasForms ->title("Valid QR Found") // {$operatorName} ->body("Valid QR code scanned: {$this->qrData}.") ->success() + ->duration(200) ->send(); } }