Skip to content

Commit abdc462

Browse files
committed
make v-model select options watcher deep
1 parent ef286ae commit abdc462

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/directives/model/select.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ function initOptions (expression) {
6969
this.optionWatcher = new Watcher(
7070
this.vm,
7171
expression,
72-
optionUpdateWatcher
72+
optionUpdateWatcher,
73+
null, false, true
7374
)
7475
// update with initial value
7576
optionUpdateWatcher(this.optionWatcher.value)

0 commit comments

Comments
 (0)