Its possible to disable weekends on the DatePicker from filament?

I need to disable weekends on the date selector? Its there a goood way to do it? Thanks in advance.
1 Reply
bwurtz999
bwurtz9992y ago
I haven't tried this, but my guess would be to use the ->disabledDates() option and return an array with weekend dates during your timeframe and/or you could use a custom validation rule to check if the selected date is a weekend and return an error if it is
Want results from more Discord servers?
Add your server