Issues with using ref() #9023
-
|
I was trying to use ref() as v-model on q-toggle, to switch between light and dark mode, works fine on desktop and mobile if i use browser but, shows object not extensible error on capacitor mode/app. Thanks in advance <3 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
How are you switching the theme, im trying todo the same thing right now. |
Beta Was this translation helpful? Give feedback.
-
|
@Sibgat-Ul A codepen of what you are trying out would be nice. |
Beta Was this translation helpful? Give feedback.
-
|
@Sibgat-Ul |
Beta Was this translation helpful? Give feedback.
@Sibgat-Ul
See this thread on the Capacitor github about dark mode not appearing. The last post is about a Quasar solution.
ionic-team/capacitor#1978 (reply in thread)