0👍
For clarity, you should initialize picked
to null
. It will only have one scalar value, it will not be an array.
The conditions for your v-show
s should be like this:
v-show="picked === 'third_toggle'"
you want to check the value stored in picked
.
Source:stackexchange.com