Material: select: remove support for md-multiple

Created on 27 Sep 2016  路  7Comments  路  Source: angular/material

Actual Behavior:

  • What is the issue? * When the expression in ng-multiple evaluates to true, md-select-value updates appropriately but md-select-menu does not change to a multi-select.
  • What is the expected behavior? When ng-multiple evaluates to true, it should change md-select-menu to a multi-select.

CodePen (or steps to reproduce the issue): *

  • CodePen Demo which shows your issue: http://codepen.io/anon/pen/Zpyzyq?editors=1010
  • Details: ng-multiple set on the Result select evaluates to true when Multi Select is selected in the type select. The Result select should be a multi-select, but it is not.

Angular Versions: *

  • Angular Version: v1.5.5
  • Angular Material Version: v1.1.1

Additional Information:

  • Browser Type: * Chrome
  • Browser Version: * Version 53.0.2785.116 (64-bit)
  • OS: * OS X El Capitan Version 10.11.6
  • Stack Traces:

Shortcut to create a new CodePen Demo.
Note: * indicates required information. Without this information, your issue may be auto-closed.

Do not modify the titles or questions. Simply add your responses to the ends of the questions.
Add more lines if needed.

- Breaking Change minor a11y

All 7 comments

Your code is working with multiple select with no checkbox but you can select items same with the checkbox. I'm using chrome Version 53.0.2785.143 m in windows 10.

Right, but checkboxes should be showing. If I just hard-code multiple="true" in the html, then checkboxes do show for each option

Can confirm this. @topherfangio Do you want to take a look at this?

Seems to be a major bug.

Checkbox isn't visible in my md-select either. I have hardcoded the multiple=true

I am going to use this issue to track the removal of support for ng-multiple in AngularJS Material, so that we can match up with AngularJS 1.2.0+. This will be considered a breaking change, so it is targeted to 1.2.0.

Tracking the evaluation of the argument passed into multiple and ng-multiple will be handled in https://github.com/angular/material/issues/3068.

Our version of ng-multiple has been changed to md-multiple in 1.2.0. We could consider removing it completely in the future.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

WebTechnolog picture WebTechnolog  路  3Comments

chriseyhorn picture chriseyhorn  路  3Comments

LeoLozes picture LeoLozes  路  3Comments

epelc picture epelc  路  3Comments

bobber205 picture bobber205  路  3Comments