[BUG] "change" event won't be dispatched when binding to checkbox elements
Version
3.1.1
Reproduction link
https://codesandbox.io/s/little-night-x81gn?file=/src/App.vue
Steps to reproduce
- check any of the checkboxes
- click "clear all"
- check the console, confirm that "changed" has not been logged.
What is expected?
"changed" should be logged, because the value of the bound input element has been changed.
It is expected. You don't get the change
event when programmatically changing the values of checkboxes. You only get it after user interaction.
@Justineo thanks for replying! I didn't expect that, so what would be the workaround for my usecase?