Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Datepicker: Handle clearing the date inside _setDate() as early as po…
…ssible. Fixes #6684 - Datepicker: setDate() should accept an empty string. Thanks RobinHerbots.
- Loading branch information
7b523c2
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.
Is it intentional that this change breaks the onChangeMonthYear notification for null dates? In the previous version notifyChange would be called, but not in this.
7b523c2
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.
No, that's not intentional. Thanks for catching this. I'll try to land a fix for both bugs, if I run into a problem, I'll just revert this.
7b523c2
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.
Fixed in 9ade710.