Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

input type="datetime-local" with pre-set value fail validation on certain browser #8566

Open
Dunge opened this issue Apr 12, 2017 · 1 comment

Comments

@Dunge
Copy link

Dunge commented Apr 12, 2017

Demo:
http://jsfiddle.net/XeUcM/68/

Change the date and press the Pause (submit) button.
The validation procedure fail and a popup appear saying the entered date is invalid.
It works if no value is preset in the dom.

Works on:
Desktop Chrome
Desktop Firefox
Mobile Firefox

Fail on:
Mobile Chrome
Mobile Safari

Any workaround?

@Dunge
Copy link
Author

Dunge commented Apr 16, 2017

Submitting via javascript seems to bypass the validation

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant