Skip to content

Commit dfba65c

Browse files
authored
docs: improve clarity of v-model intro sentence (vuejs#239)
This sentence threw me at first because i've been customizing v-model in Vue 2 for a long time! it comes clear later, but figured we could front-load the clarification.
1 parent 0fa9c59 commit dfba65c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/migration/v-model.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ For more information, read on!
1515

1616
## Introduction
1717

18-
In Vue 2, the `v-model` directive required developers to always use the `value` prop. And if developers required different props for different purposes, they would have to resort to using `v-bind.sync`. In addition, this hard-coded relationship between `v-model` and `value` led to issues with how native elements and custom elements were handled.
18+
When Vue 2.0 was released, the `v-model` directive required developers to always use the `value` prop. And if developers required different props for different purposes, they would have to resort to using `v-bind.sync`. In addition, this hard-coded relationship between `v-model` and `value` led to issues with how native elements and custom elements were handled.
1919

2020
In 2.2 we introduced the `model` component option that allows the component to customize the prop and event to use for `v-model`. However, this still only allowed a single `v-model` to be used on the component.
2121

0 commit comments

Comments
 (0)