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
.
- [Vuejs]-Data value not updated with tabs in Vue js
- [Vuejs]-How to use the concatenate names of the elements/options in one function in vue-select
Source:stackexchange.com