-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Add a DateTimeWidget component #114
Comments
This is blocked by tdegrunt/jsonschema#169 as the |
My mistake, |
Actually JSON datetime format being a perfectly valid format, we can definitely start with implementing support for a simple text field, expecting users to enter a valid JSON datetime string. We shall iterate to improve the user experience later on, the first priority here being to support the |
UI could be simply 6 select inputs for setting year, month, day, hour, minutes and seconds values. Or alternatively a single text input with some supplementary bidirectional format transformation.
Note that the legit format received from and exposed to
formData
should always be the JSON compatible date format (eg.new Date().toJSON()
).The text was updated successfully, but these errors were encountered: