Question · Vue.js course · Module 5: Events & Forms
v-model with multiple checkboxes
What does v-model return when multiple checkboxes share the same variable (array)?
Answer options
- An array with the values of checked checkboxes
- An object with id: checked pairs
- A string with concatenated values
- The number of checked elements
You can check the correct answer by solving this task in the CodeWorlds game.