Skip to content

MdRadioGroup is marked "not pristine" when setValue(...) is called #1475

Closed
@feloy

Description

@feloy

Bug, feature request, or proposal:

Bug

What is the expected behavior?

In a reactive Form, when calling setValue(...) method of a formControl, the formControl should not be marked as not pristine.

What is the current behavior?

A MdRadioGroup in a reactive form is marked as not pristine when setValue(...) is called on the control form.

What are the steps to reproduce?

View github https://github.com/feloy/ng2-master-detail

  • tag bug-dirty-ok : works as expected with input radio
  • tag bug-dirty-error : does not work as expected with md-radio-button

What is the use-case or motivation for changing an existing behavior?

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

Angular 2.0.2
Material 2.0.0-alpha.9-3
OS Linux
Browsers tested: Chrome 50, Firefox 46

Is there anything else we should know?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions