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] AutoAccept bug #1102

Closed
chuchengcao opened this issue Jul 10, 2015 · 6 comments
Closed

[DatePicker] AutoAccept bug #1102

chuchengcao opened this issue Jul 10, 2015 · 6 comments
Labels
bug 🐛 Something doesn't work

Comments

@chuchengcao
Copy link

<DatePicker autoOk={true}>

When you click the paging arrow, it will cause autoOK unexpectly.

@chuchengcao
Copy link
Author

Another problem, when set props defaultDate to null, when focus on the input, it will cause an error:

date-time.js:43 Uncaught TypeError: Cannot read property 'getFullYear' of null

And then page is hang

@jkruder jkruder added the bug 🐛 Something doesn't work label Jul 10, 2015
@hai-cea
Copy link
Member

hai-cea commented Jul 11, 2015

#830 Attempted to fix this. Waiting on revision.

@hai-cea hai-cea changed the title DatePicker AutoAccept bug [DatePicker] AutoAccept bug Jul 16, 2015
@shaurya947
Copy link
Contributor

#830 was replaced by #1243, which has been merged. Closing for now.. @chuchengcao please retest and let us know if you still experience the issue.

@ursulacervantes
Copy link

I'm still experimenting the error when set defaultDate to null, then focus on the input I get:

date-time.js:73 Uncaught TypeError: Cannot read property 'getFullYear' of null

@afilp
Copy link
Contributor

afilp commented Nov 28, 2015

Me too, I get the Uncaught TypeError: Cannot read property 'getFullYear' of null when date is null (which I need it to be)

@tintin1343
Copy link
Contributor

This seems to be resolved now. Closing this for now.

Do let us know if you still see this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work
Projects
None yet
Development

No branches or pull requests

8 participants