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

Fixed timepicker in Firefox workaround #12

Merged
merged 1 commit into from
Jun 9, 2021
Merged

Fixed timepicker in Firefox workaround #12

merged 1 commit into from
Jun 9, 2021

Conversation

cmeier76
Copy link
Member

@cmeier76 cmeier76 commented Jun 9, 2021

With the Firefox browser type=date is set in any case. So instead of a timepicker a datepicker is shown with type=time.

This patch fixes this behaviour and adds a switch back between date and datetime-local on double click.

Workaround is needed because picker for type=datetime-local is broken in Firefox
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local

Workaround is needed because picker for type=datetime-local is broken in Firefox
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local
@cmeier76 cmeier76 requested a review from drfho June 9, 2021 16:11
@drfho drfho merged commit 7025c11 into master Jun 9, 2021
@cmeier76 cmeier76 deleted the timepicker branch June 29, 2021 19:29
drfho added a commit that referenced this pull request Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants