Skip to content

Commit 50094a6

Browse files
committed
fix(forms): fix typo
1 parent 4a22523 commit 50094a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/en/forms.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ When using Vuex in strict mode, it could be a bit tricky to use `v-model` on a p
66
<input v-model="obj.message">
77
```
88

9-
Assuming `obj` is a computed property that returns an Object from the store, the `v-model` here will attempt to directly mutate `obj.message` when the user types in the input. In strict mode, this will result in en error because the mutation is not performed inside an explicit Vuex mutation handler.
9+
Assuming `obj` is a computed property that returns an Object from the store, the `v-model` here will attempt to directly mutate `obj.message` when the user types in the input. In strict mode, this will result in an error because the mutation is not performed inside an explicit Vuex mutation handler.
1010

1111
The "Vuex way" to deal with it is binding the `<input>`'s value and call an action on the `input` or `change` event:
1212

0 commit comments

Comments
 (0)