possibly null expression inside v-if guard #169
Replies: 3 comments 2 replies
-
|
Any idea how to fix it? I have same problem with v-if. |
Beta Was this translation helpful? Give feedback.
-
|
Not great, but another workaround for your sample could be using the |
Beta Was this translation helpful? Give feedback.
-
|
One more solution I used instead. Instead of Then you don't have to sprinkle |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I notice that expressions inside
v-ifare rendered one more time asv-ifcondition becomesfalse, and this is quite bothering as I can't then usev-ifas a null guard like I can in Vue. Here is a minimal example; an error will shown in the console after 3 seconds.See this codepen.
Beta Was this translation helpful? Give feedback.
All reactions