date-picker
date-picker copied to clipboard
Being able to manually insert a date in the date field.
Describe the bug Manually clicking into the date field by adding a date the date will not be read.
Here is an issue at the My Calendar WordPress plugin repo which uses the date picker: https://github.com/joedolson/my-calendar/issues/438
Expected behavior I expected that one would be able to manually add a date by clicking into the date field and writing a date YYYY.MM.DD or YYYY-MM-DD. It seems the date becomes active only on clicking the date picker button and selecting a date.
Screenshots
Manually adding a date. It says Daily - 500 times because the date is not being read (looks like it can not be read).
Clicking the date picker and selecting a date. The date is read.
It would be great to get this fixed. Thank you!
The date picker needs to be configured to accept different date formats. It only works with ISO format out of the box. If the entered date is valid, a change event is fired, then you can update the UI. See the example "Getting selected value" in the docs https://duetds.github.io/date-picker/
Doesn't seem like a bug this end