-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
Question: Clearing input values on Time picker #34
Comments
Did you try setting the https://github.com/wojtekmaj/react-time-picker/blob/master/src/TimePicker.jsx#L107 |
I have, and the time picker input still does not clear. Seems the only way to clear is with the clear button itself. |
I tried it and it seemed to work for me just fine. Here's my class code, maybe it'll help you. I included some screenshots of the before and after clicking the Reset button (the styling is heavily customized for my project, but functionality is the same.)
|
This more of a question than an actual issue. Is there a way to clear the time inputs without using the clear icon? I would like the time picker to reset when my components general reset button is pressed but as it stands now I haven't figured a way to clear the value from the time picker without using the built in clear button.
Thanks.
The text was updated successfully, but these errors were encountered: