From c94688a794bb65127ed5e0b2a97d4ce3f6873263 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Mon, 6 Jul 2026 16:17:56 +0530 Subject: [PATCH] added after state updated in wire master print page --- app/Filament/Pages/WireMasterPrint.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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()