nextcloud-vue
nextcloud-vue copied to clipboard
[stable8] [NcFormBoxSwitch] visual state not reflects model value
If a modelValue (static boolean) is passed and the user clicks the element, then the primary color is removed / added but the icon is not swapped.
I would expect either no change at all visually or both (icon and color) change at the same time.
I noticed this because a state was set delayed by a store (API) and thus the modelValue was synced later.
cc @ShGKme
The problem only appears on stable8 due to the difference between Vue 3.4 useModel and vueuse/useVModel