nextcloud-vue icon indicating copy to clipboard operation
nextcloud-vue copied to clipboard

[stable8] [NcFormBoxSwitch] visual state not reflects model value

Open susnux opened this issue 1 month ago • 1 comments

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

susnux avatar Nov 12 '25 17:11 susnux

The problem only appears on stable8 due to the difference between Vue 3.4 useModel and vueuse/useVModel

ShGKme avatar Nov 12 '25 19:11 ShGKme