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

[Bug Report][3.7.3] VCheckbox - update:modelValue not emitted if modelValue was unchanged on last update #20673

Open
tobias-rondin opened this issue Nov 5, 2024 · 0 comments

Comments

@tobias-rondin
Copy link

Environment

Vuetify Version: 3.7.3
Vue Version: 3.5.12
Browsers: Chrome 130.0.0.0
OS: Windows 10

Steps to reproduce

  1. Click the checkbox
    • updateInfo is set to 'ShouldUpdate'
  2. Click the checkbox again
    • Nothing happens
  3. Click the checkbox again
    • update:modelValue is emitted and modelValue is updated

Expected Behavior

update:modelValue is emitted on every click

Actual Behavior

update:modelValue is only emitted after clicking twice if modelValue was not updated on the last emit

Reproduction Link

https://play.vuetifyjs.com/#...

Other comments

Similar to #19137 but not fixed.
In our case, for certain scenarios we have a confirmation dialog where the user decides if they want to update the value or not after the checkbox is clicked. If they do not, this bug happens.

@tobias-rondin tobias-rondin changed the title [Bug Report][3.7.3] VCheckbox - update:modelValue not emitted if modelValue was not changed on last update [Bug Report][3.7.3] VCheckbox - update:modelValue not emitted if modelValue was unchanged on last update Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant