Skip to content

Commit a0a7ff2

Browse files
author
Ludo237
committed
Updated Forms.md
1 parent 6f1c3ab commit a0a7ff2

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/guide/forms.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,17 @@ Checkbox multipli, vincolati allo stesso Array:
6565
<label for="mike">Mike</label>
6666
<br>
6767
<span>Nomi selezionati: {{ checkedNames | json }}</span>
68+
```
69+
70+
``` js
71+
new Vue({
72+
el: '...',
73+
data: {
74+
checkedNames: []
75+
}
76+
})
77+
```
78+
6879
```
6980
{% raw %}
7081
<div id="example-3" class="demo">

0 commit comments

Comments
 (0)