How to type in the datepicker input box?
For ease of use I would like to be able to type into the datepicker input box instead of having to use the datepicker.
This can be sort of achieved with the following code:
The downside of this approach is that you lose access to the
minDate()
and maxDate()
methods.
Is there a way to have the best of both worlds?3 Replies
Hahaha I've found quite an easy solution. It is not perfect but by setting
->native()
the input becomes typable.
I'd rather have the nicer interface of filament but for now this works->native() uses the native browser functionality for a date picker.
Yeah not the most uniform experience across browsers but good enough :D