Skip to content

[md-slide-toggle] setting default value to true brings pristine: false #4968

Closed
@e-cloud

Description

@e-cloud

Bug, feature request, or proposal:

BUG

What is the expected behavior?

default value with true should not affect the pristine state

What is the current behavior?

pristine state is changed

What are the steps to reproduce?

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

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

Current behavior is somehow disturbing form validation

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

Angular-4.1.0, Material-2.0.0-beta-6, others are all

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions