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 |
FrontEndDog
left a comment
There was a problem hiding this comment.
Thanks for your contribution!
|
@kooriookami could you please review this pull request as soon as possible, It is very important to us, thxs! |
QQ2024618-92450-HD.mp4Has it really been fixed? |
|
It works normally in the playground. Screen.Recording.2024-06-18.at.11.22.10.mov |
No, it won't, the date will only be verified and fixed after you blur it. |
@kooriookami I think what you demonstrated is another bug that is pre-existing,It would be better if it could be solved. But this pull-request has already solved my problem. |
still not resolve this problem yet |


Please make sure these boxes are checked before submitting your PR, thank you!
devbranch.What's Changed
Fixed #16667.
This PR moved the checking of
maxDate.value.isBeforefrom input event tochangeevent to prevent minDate change unexpectedly.