From 5b668a922225c0d2dc1664dd117e4f74d15dbfbf Mon Sep 17 00:00:00 2001 From: Evan You Date: Thu, 30 Jun 2016 11:48:35 -0400 Subject: [PATCH] warn non-Array value for ` + + `expects an Array value for its binding, but got ${ + Object.prototype.toString.call(value).slice(8, -1) + }`, + vm + ) + return } for (let i = 0, l = el.options.length; i < l; i++) { const option = el.options[i] diff --git a/test/unit/features/directives/model-select.spec.js b/test/unit/features/directives/model-select.spec.js index a4eaa09a8..66c03c7d5 100644 --- a/test/unit/features/directives/model-select.spec.js +++ b/test/unit/features/directives/model-select.spec.js @@ -203,4 +203,16 @@ describe('Directive v-model select', () => { expect('inline selected attributes on