euvl / euvl/vue-js-toggle-button
Sync doesn't work as expected, value/v-model can get out of sync
Open
- Dominant language
- Vue
- Stars
- 921
- Forks
- 131
- PR merge metrics
- No merged PRs in 30d
Description
If I have the toggle in sync mode connected to a value using v-model (or :value and @input) the toggle can get out of sync of the value.
When sync is selected the toggle function could not set `this.toggled = !this.toggled` directly, but could just send the value through the input event and let the parent's v-model handler set the value.or quickly changes.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.