Skip to content

<select v-model="arr" v-bind:multiple="multiple"> #4864

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
iamzhangjinpeng opened this issue Feb 6, 2017 · 2 comments
Closed

<select v-model="arr" v-bind:multiple="multiple"> #4864

iamzhangjinpeng opened this issue Feb 6, 2017 · 2 comments
Assignees
Labels

Comments

@iamzhangjinpeng
Copy link

Vue.js version

2.1.10

Reproduction Link

http://jsfiddle.net/myuvgsj8/

What is actually happening?

Error:
VM281 vue.js:525 [Vue warn]: expects an Array value for its binding, but got String (found in root instance)

@posva
Copy link
Member

posva commented Feb 6, 2017

Thanks. It looks like a bug. I'm looking into it.

@posva
Copy link
Member

posva commented Feb 6, 2017

It has been fixed already in the dev branch https://github.com/vuejs/vue/blob/dev/src/platforms/web/compiler/directives/model.js#L138

@posva posva closed this as completed Feb 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants