Skip to content

md-select: support md-icon #2814

Closed
Closed
@alexciesielski

Description

@alexciesielski

Bug, feature request, or proposal:

Bug/Feature request

What is the expected behavior?

md-select should support md-icons

What is the current behavior?

The icon's string representation is printed inside the md-select, instead of the actual icon.

What are the steps to reproduce?

http://plnkr.co/edit/JUvYgIAoIexRvW19Fng3?p=preview

  1. Open plunkr
  2. Select an item from md-select (notice that icons in md-option are displayed)
  3. After selecting an item, the icon's string representation is displayed inside md-select, instead of the actual icon.

Which versions of Angular, Material, OS, browsers are affected?

angular-cli: 1.0.0-beta.24
node: 6.9.4
os: linux x64
@angular/common: 2.4.3
@angular/compiler: 2.4.3
@angular/core: 2.4.3
@angular/forms: 2.4.3
@angular/http: 2.4.3
@angular/material: 2.0.0-beta.1
@angular/platform-browser: 2.4.3
@angular/platform-browser-dynamic: 2.4.3
@angular/router: 3.1.1
@angular/compiler-cli: 2.4.3

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentfeatureThis issue represents a new feature or feature request rather than a bug or bug fix

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions