From cdc8a5ce548924163df8e88631aa0afffc0d40db Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Wed, 2 Jul 2025 16:20:18 +0530 Subject: [PATCH] Updated from_datetime validation --- app/Filament/Resources/ProductionLineStopResource.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Filament/Resources/ProductionLineStopResource.php b/app/Filament/Resources/ProductionLineStopResource.php index 265ca57..4ea055d 100644 --- a/app/Filament/Resources/ProductionLineStopResource.php +++ b/app/Filament/Resources/ProductionLineStopResource.php @@ -268,6 +268,7 @@ class ProductionLineStopResource extends Resource Forms\Components\DateTimePicker::make('from_datetime') ->label('From DateTime') ->required() + ->before('to_datetime') ->reactive() // ->closeOnDateSelection() ->afterStateUpdated(fn ($state, callable $set, callable $get) =>