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 can't be valid when default value is 0 #9232

@wcmboy

Description

@wcmboy

Actual Behavior:

  • What is the issue? *md-select can't be valid when default value is 0
  • What is the expected behavior?md-select should be valid when set default value.

CodePen (or steps to reproduce the issue): *

  • CodePen Demo which shows your issue:http://codepen.io/wcmboy/pen/wWYBGZ
  • Details:You can see the favoriteColor1 is 0 and the favoriteColor2 is 1.The favoriteColor1 is invalid and favoriteColor2 is valid.

Angular Versions: *

  • Angular Version:1.5.5
  • Angular Material Version:v1.1.0-rc.5-master-8dcdf82

Additional Information:

  • Browser Type: *chome
  • Browser Version: * 52.0.2743.82 m
  • OS: *windows 10

Metadata

Metadata

Assignees

Labels

P1: urgentUrgent issues that should be addressed in the next minor or patch release.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions