diff --git a/src/guide/forms.md b/src/guide/forms.md index c6b5a3ab04..2e79800df9 100644 --- a/src/guide/forms.md +++ b/src/guide/forms.md @@ -66,6 +66,16 @@ Mutiple checkboxes, bound to the same Array:
Checked names: {{ checkedNames | json }} ``` + +``` js +new Vue({ + el: '...', + data: { + checkedNames: [] + } +}) +``` + {% raw %}