-
Notifications
You must be signed in to change notification settings - Fork 201
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
Firefox 57.0.1: forms-ext Datetimepicker [type="datetime-local"] broken #592
Comments
Problem also exists in Firefox 58. Linux, Mac or Windows doesn't matter. |
I've tried to analyze the problem, and it looks like Firefox >= 57 reports type of a datetime-local input element as text, so the detection fails and the input widget is not extended by webshim. You can test this with this simple html page:
The alert should report "datetime-local", but it reports "text". |
What solves the problem: replace line 3610 in https://github.com/aFarkas/webshim/blob/gh-pages/js-webshim/dev/shims/combos/10.js |
This is true for Firefox < 57 as well. And it's correct behavior per spec, since Firefox doesn't impement any non-text processing for those input types. |
Just done a view tests which type is reported
You are right, it must be something else which causes the problem. What ever, I've done the changes in 10.js I've reported and it works. I've included the patched version in my project and Firefox 57 and 58 displays the datetime-local widget from webshim. |
Since the Update of Firefox it seems not any more possible to instance / reinstance the datetimepicker.
There is also no error in the console..
Can someone confirm this issue?
Maybe there is a fix for this?
Kindly regards
The text was updated successfully, but these errors were encountered: