-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
[Bug Report] v-date-picker range mode causes @change to fire even on 1 date selected #11056
Comments
What if you want to start with an empty selection? |
It works with empty selection, not sure what you mean |
If you start with an empty selection, the Change event is fired as soon as you select the first date. |
And it does in latest version, if I'm mistaken please create a new issue and provide reproduction |
My apologies...I didn't realize that the codepen was using the prev version |
Environment
Vuetify Version: 2.2.21
Vue Version: 2.6.11
Browsers: Chrome 80.0.3987.163
OS: Mac OS 10.15.4
Steps to reproduce
Documentation says, that @change event fires, when both dates are chosen, i.e: ['2020-05-11', '2020-05-12'], but this @change event fires even when just one date chosen.
Expected Behavior
@change event must be fired when both of dates are chosen, as per documentation.
Actual Behavior
@change event fires even with 1 date selected
Reproduction Link
https://codepen.io/webcoderkz/pen/BaoBYbx
The text was updated successfully, but these errors were encountered: