-
-
Notifications
You must be signed in to change notification settings - Fork 242
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
[BasicUI] No timepicker in Firefox #2645
Comments
Is it only when the current state is NULL ? |
No, this issue is independent of the state. |
Strange, I am sure time picker was tested when initially implemented. |
How is defined MyDateTimeItem ? |
A DateTime Item without any metadata set, only the title. The title doesn't contain a value format pattern. |
A DateTime item without metadata will default to a datetime-local HTML5 input type. Firefox (and Safari) don’t show time inputs for that type (see https://bugzilla.mozilla.org/show_bug.cgi?id=1726108). You can set time with inputHint time, but that obviously does not show the date. It is possible to show 2 fields, one with inputHint date, another one with time. Setting them independently should preserve the previously set date/time part. so unless someone is willing to develop a very specific datetime entry widget for BasicUI, I think we have to live with the browser constraint. I therefore suggest to close this as will not fix. |
I already did, but no timepicker is shown. Basic UI follows Material Design, so I guess it uses some library for that? Maybe that library also includes a time picker? |
When developing this I searched for date/time pickers. Material Design Lite does not have one by default. The one you link requires Angular. In mainUI, we have the f7 framework available which also has one. I didn’t find an easy and universal candidate for BasicUI Material Design Lite. |
For reference: google/material-design-lite#1695 |
What about https://github.com/puranjayjain/md-date-time-picker ?
It shouldn't have dependencies on libraries. |
Looks promising. I may have a look when I find some time. |
Which UI are you reporting an issue for?
The problem
There's no timepicker in Firefox as there's in Chrome:
Chrome:
Firefox:
I'm using this sitemap definition:
Expected behavior
It should be similiar in both browsers.
Your environment
Browser console
no output in the console.
The text was updated successfully, but these errors were encountered: