Skip to content
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

[DatePicker] onChange event not firing when autoOk is true #605

Closed
dwoodlock opened this issue May 4, 2015 · 2 comments
Closed

[DatePicker] onChange event not firing when autoOk is true #605

dwoodlock opened this issue May 4, 2015 · 2 comments
Labels
component: date picker This is the name of the generic UI component, not the React module! component: pickers This is the name of the generic UI component, not the React module!

Comments

@dwoodlock
Copy link

Hi there, I'm not getting the onChange event fired after the user selects a new date from the date picker. I have autoOk = {true} and right after the user clicks a date on a calendar, the whole page is getting refreshed - as if whoever is handling that event didn't do a e.preventDefault() either.

The use of the component looks like this:

Again I'm expect my onChange handler to get called after the user selects a new date but it's not. Is there another event I should be looking for?

@danesparza
Copy link

I think you're on the right track. After looking at this code, I would expect the same thing to happen as well. Does it work if autoOk = {false}?

@hai-cea hai-cea changed the title DatePicker onChange event? [DatePicker] onChange event not firing when autoOk is true Jun 19, 2015
@shaurya947
Copy link
Contributor

@dwoodlock do you still face this issue today? Closing for now, feel free to comment.

@zannager zannager added component: date picker This is the name of the generic UI component, not the React module! component: pickers This is the name of the generic UI component, not the React module! labels Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: date picker This is the name of the generic UI component, not the React module! component: pickers This is the name of the generic UI component, not the React module!
Projects
None yet
Development

No branches or pull requests

4 participants