mirror of
https://github.com/filamentphp/filament.git
synced 2026-10-24 23:35:30 +08:00
add native false in max/min validation
This commit is contained in:
@@ -213,6 +213,7 @@ You may restrict the minimum and maximum date that can be selected with the pick
|
||||
use Filament\Forms\Components\DatePicker;
|
||||
|
||||
DatePicker::make('date_of_birth')
|
||||
->native(false)
|
||||
->minDate(now()->subYears(150))
|
||||
->maxDate(now())
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user