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
When I put step="1" in a datetime-local input field to show seconds, if I'm validating that field with the plugin (just "required", for example), I get a javascript error saying "Step attribute on input type datetime-local is not supported". If I put this step="1" in a field that is not being validated, it works without problems.
Just create a datetime-local input field with step="1", and try to validate it with required.
Expected behaviour
When you put step="1" in a datetime-local field, the field shows seconds (by default you can just see minutes because default value is step="60")
Actual behaviour
If the step="1" is in a field that is being validated with the plugin, you get a Javascript error with message "Step attribute on input type datetime-local is not supported".
The text was updated successfully, but these errors were encountered:
I've setup a very complete jsbin to compare native html5 validation with each date type that demonstrates several issues related to min/max calculations and breakage due to the "step" attribute.
Subject of the issue
When I put step="1" in a datetime-local input field to show seconds, if I'm validating that field with the plugin (just "required", for example), I get a javascript error saying "Step attribute on input type datetime-local is not supported". If I put this step="1" in a field that is not being validated, it works without problems.
Your environment
Steps to reproduce
Just create a datetime-local input field with step="1", and try to validate it with required.
Expected behaviour
When you put step="1" in a datetime-local field, the field shows seconds (by default you can just see minutes because default value is step="60")
Actual behaviour
If the step="1" is in a field that is being validated with the plugin, you get a Javascript error with message "Step attribute on input type datetime-local is not supported".
The text was updated successfully, but these errors were encountered: