nuxt / ui

A UI Library for Modern Web Apps, powered by Vue & Tailwind CSS.
https://ui.nuxt.com
MIT License
3.45k stars 383 forks source link

UToggle is not getting rerendered when v-model is getting from pinia store #1792

Open Tarabass opened 2 weeks ago

Tarabass commented 2 weeks ago

Environment

Version

v2.16.0

Reproduction

https://stackblitz.com/edit/github-gaqntm?file=app.vue

Description

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.

Additional context

No response

Logs

No response