guillaumepotier / Parsley.js

Validate your forms, frontend, without writing a single line of javascript

Home Page:http://parsleyjs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Date validation on Internet Explorer 11 fails

supermueller opened this issue · comments

What kind of issue is this? (put 'x' between the square brackets)

In Internet Explorer Parsley only accepts dates in ISO format. If you're using an other format for the date, like e.g. the German’s default "31.12.1970", parsley will not accept the date in IE11 – you have to type in "1970-12-31".

Because CodePen blocks IE 11, I have to paste the example here:

<input type="date" id="date-of-birth" name="date-of-birth" placeholder="" value="">

Same problem on Safari macOS input date is not supported.
Works on iOS because input date is partially supported.