Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show validation error if time input is partially filled #279

Conversation

jelhan
Copy link
Owner

@jelhan jelhan commented Nov 2, 2019

Adds a validation error for time input if the input is partially filled (e.g. 10:--).

I fear this can not be tested cause I'm not aware of any method to fill a time input partially using JavaScript.

Closes #277

@jelhan jelhan added the bug label Nov 2, 2019
@jelhan jelhan merged commit 6571a07 into master Nov 2, 2019
@jelhan
Copy link
Owner Author

jelhan commented Nov 3, 2019

This does not work in Firefox. Seems like Firefox is not considering a partially filled time input as invalid.

Other browsers are not affected. UI used by Edge prevents partially filling a time input. Desktop Safari and IE11 do not support <input type="time">. Haven't tested mobile Safari.

@jelhan jelhan deleted the issue-277-partially-filled-input-time-should-issue-a-validation-error branch October 13, 2020 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Doesn't warn about partially filled out times
1 participant