Skip to content

Commit

Permalink
address vuejs#579 contenteditable changes
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Nov 22, 2014
1 parent e85319f commit 3f0a00b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion changes.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
> Live doc. Subject to change anytime before 0.11 release.
# 0.10 -> 0.11 Migration Guide

**Table of Contents**

Expand Down Expand Up @@ -326,6 +326,8 @@ computed: {

- `v-model`

**BREAKING** `v-model` no longer works on arbitrary elements with `contenteditable`. It is now recommended to wrap a library that specifically deals with `contenteditable` inside a custom directive.

`v-model` now will check `lazy` attribute for lazy model update, and will check `number` attribute to know if it needs to convert the value into Numbers before writing back to the model.

When used on a `<select>` element, `v-model` will check for an `options` attribute, which should be an keypath/expression that points to an Array to use as its options. The Array can contain plain strings, or contain objects.
Expand Down

0 comments on commit 3f0a00b

Please sign in to comment.