-
Notifications
You must be signed in to change notification settings - Fork 228
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
Prop "format" for TimePicker component interfere with Field components prop #49
Comments
Not an ideal solution, but you can introduce a new prop (let's say
Where I have also added the last line as per #37 So now you can write:
|
any news on this? |
below code works fine
|
Thanks @tikitikipoo For the help :) Closing this feel free to open if still facing an issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To set the format for the TimePicker we use the format prop like this
<TimePicker format="24hr" />
How to set prop format when using the Field component?
<Field name="some_name" component={TimePicker} format="24hr" />
This is not working because the Field component already has a prop called format.
The text was updated successfully, but these errors were encountered: