diff --git a/app/Filament/Pages/WireMasterPrint.php b/app/Filament/Pages/WireMasterPrint.php index de3918f..4125c16 100644 --- a/app/Filament/Pages/WireMasterPrint.php +++ b/app/Filament/Pages/WireMasterPrint.php @@ -80,7 +80,10 @@ class WireMasterPrint extends Page return CustomerPoMaster::where('plant_id', $plantId)->distinct()->pluck('customer_po', 'customer_po'); //->pluck('customer_po', 'id'); ->distinct() }) - ->required(), + ->required() + ->afterStateUpdated(function ($state, callable $set) { + $set('scan_pallet_no', null); + }), Select::make('scan_pallet_no') ->label('Scan Pallet No') ->reactive()