nuxt / ui

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

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

Open Tarabass opened 6 months ago

Tarabass commented 6 months 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

github-actions[bot] commented 3 months ago

This issue is stale because it has been open for 30 days with no activity.