add native false in max/min validation

This commit is contained in:
Lalhmangaihenga
2023-10-05 17:05:26 +07:00
parent 01c196e391
commit d7ffbaa2a5
@@ -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())
```