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

md select null value #6851

@garaboncias

Description

@garaboncias

md-select show selected state even null value is selected (md-input-has-value class is not removed from md-input-container)
demo:
http://codepen.io/anon/pen/vLRjZo

workaround: if first md-options has invalid ng-value (ex: xxxnull) then work as expected (but only if the second md-options use value instead of ng-value which is not documented but used in demos)
screen shot 2016-01-26 at 17 20 06

so there are more problems:

  1. null value selection not work as expected
  2. value attribute is not documented but used in demos
  3. demos' codePens on page https://material.angularjs.org/1.0.3/demo/select use localhost:8080 as source for angular material lib not a CDN

Metadata

Metadata

Assignees

Labels

has: Pull RequestA PR has been created to address this issue

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions