Skip to content

[2.0.0.-alpha] Bug in <select multiple> #3191

@iLexN

Description

@iLexN

Vue.js version

2.0.0.-alpha

Reproduction Link

https://jsfiddle.net/ncLrLh6z/6/

Steps to reproduce

Click 'Get' button.

What is Expected?

no js error

What is actually happening?

[Vue warn]: Error during component render (found in root instance)
console.error('[Vue warn]: ' + msg + (vm ? formatComponentName(vm) : ''));
vue.js (line 2168)
TypeError: value.indexOf is not a function
option.selected = value.indexOf(getValue(option)) > -1;

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions