-
-
Notifications
You must be signed in to change notification settings - Fork 240
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 the option to select DateField type #1099
Comments
Hi @vcardins , thanks for the issue report. I agree with you and I think it would make sense to be able to handle the Just to make sure - is |
@wadamek65 Thanks for the quick reply. Initially, the date is the only use case that I need at the moment, but whichever types are possible would make it more flexible. |
The only problem with incorporating more |
I see. Could it then cover just datetime-local and date types? I believe that in the majority of the use cases only date is needed. Thanks!! |
Hey, @radekmie it was not clear, should we expect that the type |
We've discussed it internally and we're willing to add support for Things to do:
|
Thanks, @radekmie. I'll work on that! |
Currently, there is only the option to select a date and time on the DateField component.
https://github.com/vazco/uniforms/blob/master/packages/uniforms-material/src/DateField.tsx#L61
Maybe the
type
prop could be variable even if its default value is "datetime-local"The text was updated successfully, but these errors were encountered: