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
There are cases where a <input type="date"> is changed to <input type="text"> by pat-date-picker:
If a browser does not support the date type (should be rare these days),
If we want to prevent the native date picker but use the JS one (e.g. for i18n where the browser language is different from the websites's UI language, where we need to support options not available with the native date picker, ...)
The date validation should then still be active. For that we need some changes in pat-validation. E.g. pat-validation validating text inputs with a pat-date-picker class.
The text was updated successfully, but these errors were encountered:
There are cases where a
<input type="date">
is changed to<input type="text">
bypat-date-picker
:date
type (should be rare these days),The date validation should then still be active. For that we need some changes in pat-validation. E.g. pat-validation validating text inputs with a pat-date-picker class.
The text was updated successfully, but these errors were encountered: