I use a pinia store to save settings and persist those settings using pinia-plugin-persistedstate and localStorage as storage. Everything works great, URadioGroup and URadio are correctly updated when I refresh the page. But UToggle isn't, although the value of modelValue is correct when I print it on screen.
UToggle is not updated when v-model is set from pinia store
UToggle is correctly set when v-model is from local variable
Environment
Version
v2.16.0
Reproduction
https://stackblitz.com/edit/github-gaqntm?file=app.vue
Description
I use a
pinia
store to save settings andpersist
those settings usingpinia-plugin-persistedstate
andlocalStorage
as storage. Everything works great,URadioGroup
andURadio
are correctly updated when I refresh the page. ButUToggle
isn't, although the value ofmodelValue
is correct when I print it on screen.Additional context
No response
Logs
No response