Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Default multiple select not working #12538

Closed
miffo opened this issue Aug 10, 2015 · 2 comments
Closed

Default multiple select not working #12538

miffo opened this issue Aug 10, 2015 · 2 comments

Comments

@miffo
Copy link

miffo commented Aug 10, 2015

Using a default value on multiple select is not working in 1.4.3
http://jsfiddle.net/miffo/7v740bLb/2/
It throws a error and does not reset the model.

It has been working in previous version (v1.2.10) not sure when it breaks.
http://plnkr.co/edit/jDijgjJ0EZLFUGIkTKDs?p=preview

I tested it on FF(39.0.3) Chrome(44.0.2403.130) and IE(11)

@Narretz
Copy link
Contributor

Narretz commented Aug 10, 2015

This is a duplicate of #12511

@Narretz Narretz closed this as completed Aug 10, 2015
@Narretz
Copy link
Contributor

Narretz commented Aug 10, 2015

Hm, I just wondered. In 1.2.x, the empty / default value doesn't even exist if the select is multiple. So do you expect from the select to display the --choose one-- option? And if it is selected, the model should be set to an array?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants