FilamentF
Filament3y ago
Gush

DatePicker on edit

On edit i dont want to apply ->MinDate because it would force me to update to date of edit

DatePicker::make('date')
                            ->prefixIcon('heroicon-m-calendar-days')
                            ->required()
                            ->label(__('assistance.assistance_resource.date'))
                            ->minDate(Carbon::now()->addHour()),
Was this page helpful?