[Vuejs]-Toggle components with radio buttons in Vue

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-shows should be like this:

v-show="picked === 'third_toggle'"

you want to check the value stored in picked.

Leave a comment