Skip to content

Commit 3922190

Browse files
Perlovernazarepiedady
authored andcommitted
docs: update forms.md (#2582)
I think it's misprint and it's fix.
1 parent c5dad4d commit 3922190

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/essentials/forms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ In addition, `v-model` can be used on inputs of different types, `<textarea>`, a
4141

4242
- `<input>` with text types and `<textarea>` elements use `value` property and `input` event;
4343
- `<input type="checkbox">` and `<input type="radio">` use `checked` property and `change` event;
44-
- `<select>` use `value` as a prop and `change` as an event.
44+
- `<select>` uses `value` as a prop and `change` as an event.
4545

4646
::: tip Note
4747
`v-model` will ignore the initial `value`, `checked` or `selected` attributes found on any form elements. It will always treat the current bound JavaScript state as the source of truth. You should declare the initial value on the JavaScript side, using <span class="options-api">the [`data`](/api/options-state.html#data) option</span><span class="composition-api">[reactivity APIs](/api/reactivity-core.html#reactivity-api-core)</span>.

0 commit comments

Comments
 (0)