-
Notifications
You must be signed in to change notification settings - Fork 832
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
Getting Change Event from MaterialUI Date Picker #1728
Comments
In v4: You can pass an For the other types of submission, like button click, enter click or just finishing selection in the last date with |
Thanks. when will v4 be released? |
We are planning stable release in Q4 2020. But we are going to make |
Ok Thanks. I will check back then. |
Will there be any way to get both the date as a string and the change event from Materui's Date Picker. Any help appreciated.
I am looking to call this method on the onChange from the DatePicker:
onChangeFrom: (event: React.ChangeEvent<{ name?: string; value: unknown }>) => void;
And this is the code for the DatePicker:
<MuiPickersUtilsProvider utils={MomentUtils}> <DatePicker value={selectedDate} onChange={ (date) => onChangeFrom(date)} } /> </MuiPickersUtilsProvider>
The text was updated successfully, but these errors were encountered: