We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 588b633 commit 215949bCopy full SHA for 215949b
src/directives/repeat.js
@@ -45,6 +45,18 @@ module.exports = {
45
this.enterStagger = +this._checkParam('enter-stagger') || stagger
46
this.leaveStagger = +this._checkParam('leave-stagger') || stagger
47
this.cache = Object.create(null)
48
+ // some helpful tips...
49
+ /* istanbul ignore if */
50
+ if (
51
+ process.env.NODE_ENV !== 'production' &&
52
+ this.el.tagName === 'OPTION'
53
+ ) {
54
+ _.warn(
55
+ 'Don\'t use v-repeat for v-model options; ' +
56
+ 'use the `options` param instead: ' +
57
+ 'http://vuejs.org/guide/forms.html#Dynamic_Select_Options'
58
+ )
59
+ }
60
},
61
62
/**
0 commit comments