-
Notifications
You must be signed in to change notification settings - Fork 86
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
HTML5 Time and Date picker #39
Comments
@chargrove yes there is interest, I've been wanting to do it for a while, thanks for sharing, how well does it handle browser fallback like in Firefox which still doesn't appear to support them? |
@Anthropic You'll get a text entry with success and error validation in Firefox but it accepts the date and time using the correct format. Accepted date is input as "2017-12-31" and time is "18:13" or "18:13:44". This is on version Firefox 52, but the scheduled release of Firefox 54 in June has flags to enable these new input types. I'm personally planning to use a polyfill for the time being but I don't have a specific one in mind yet. |
@chargrove could you guide me a bit, how to configure for it to work? Im having trouble with Textalk datepicker addon. |
Enhancement
HTML5 native time and date pickers
I've created a HTML5 version of the time and date input object that could be a nice addition to the list of supported fields. This seems a lot easier than dealing with the Textalk datepicker that I see commonly used (and which doesn't support time input). Is there any possibility or interest in adding this in as an official type?
Below is the source, but the template directory would need to be changed slightly.
sfDateTime.js
sfDateTime.html
@json-schema-form/angular-schema-form-bootstrap-lead
The text was updated successfully, but these errors were encountered: