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

Error message when disablePast is enabled and value is set to null #368

Closed
cherniavskii opened this issue Apr 20, 2018 · 1 comment
Closed
Assignees
Labels
bug 🐛 Something isn't working

Comments

@cherniavskii
Copy link
Member

Environment

Tech Version
material-ui-pickers rc.6
material-ui beta.42
React 16.2.0
Browser every
Platform

Steps to reproduce

  1. Enable disablePast option
  2. Set picker's value to null (or use Clear button)

Expected behavior

No error message under picker input

Actual behavior

Error message appears: "Date should not be before minimal date"

Live example

https://codesandbox.io/s/r5p5zqx7z4

@dmtrKovalenko dmtrKovalenko added the bug 🐛 Something isn't working label Apr 20, 2018
@dmtrKovalenko
Copy link
Member

:(

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

No branches or pull requests

2 participants