You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User is free to enter any thing in datepicker text box. it should only allow to enter date in chosen format and date only not any text. Please suggest how I can achieve this.
The text was updated successfully, but these errors were encountered:
This allows only numbers and "-" or "/" or "." as separators (so you can enter dates as "01/01/2001" or "01-02-2002" or "01.03.2003")
It doesn't trap for all possible errors (like entering "/1.2-3") but that can be done as well. I just validate (using moment) on blur of the field.
Now granted that type of input validation could (and really should) be done as part of the module. I just don't have the time to make a PR for it at the moment.
User is free to enter any thing in datepicker text box. it should only allow to enter date in chosen format and date only not any text. Please suggest how I can achieve this.
The text was updated successfully, but these errors were encountered: