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
fix(components): date-picker minDate change unexpectedly #16748
base: dev
Are you sure you want to change the base?
fix(components): date-picker minDate change unexpectedly #16748
Conversation
👋 @xiaodong2008, seems like this is your first time contribution to element-plus.
|
Hello @xiaodong2008, thank you for contributing to element-plus, please see our guideline to see how to make contribution |
/label Component::DatePicker |
🧪 Playground Preview: https://element-plus.run/?pr=16748 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution!
Please make sure these boxes are checked before submitting your PR, thank you!
dev
branch.What's Changed
Fixed #16667.
This PR moved the checking of
maxDate.value.isBefore
from input event tochange
event to prevent minDate change unexpectedly.