showing results for - "vuejs get value of checkbox group"
Natalia
22 Mar 2018
1<div id='example-3'>
2  <input type="checkbox" id="jack" value="Jack" v-model="checkedNames">
3  <label for="jack">Jack</label>
4  <input type="checkbox" id="john" value="John" v-model="checkedNames">
5  <label for="john">John</label>
6  <input type="checkbox" id="mike" value="Mike" v-model="checkedNames">
7  <label for="mike">Mike</label>
8  <br>
9  <span>Checked names: {{ checkedNames }}</span>
10</div>
11