Same date field.Now it knows the holidays.
WarpDatePicker extends Filament's DatePicker: minDate(), required() and the rest keep working.
Native Filament DatePicker
DatePicker::make('due_on') ->required()
- ✕Public holidays look like any other day
- ✕"At least 2 business days from today" is left to you
- ✕Picking a holiday passes without a word
With Warp DatePicker +3 lines
WarpDatePicker::make('due_on') ->required() ->onDayOff(DayOff::Suggest) ->minBusinessDaysFromToday(2) ->showBusinessDaysFromToday()
- ✓Public holidays of 49 countries, by name
- ✓Christmas picked? A button says "Use Mon, Dec 28 instead"
- ✓How many business days away the date is
The panel sets the country once: FilamentWarpDatePickerPlugin::make()->country('US').