Skip to content

Commit

Permalink
add native false in max/min validation
Browse files Browse the repository at this point in the history
  • Loading branch information
valpuia committed Oct 5, 2023
1 parent 01c196e commit d7ffbaa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/forms/docs/03-fields/08-date-time-picker.md
Original file line number Diff line number Diff line change
Expand Up @@ -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())
```

0 comments on commit d7ffbaa

Please sign in to comment.