forked from angular/components
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(slide-toggle): NgControl not pristine if initial value is set
* If a developer sets an initial value for the slide-toggle the NgControl of the slide-toggle will turn dirty. The slide-toggle should only turn dirty if the value changed after initialization. Fixes angular#4968
- Loading branch information
1 parent
9c45865
commit 83c123c
Showing
2 changed files
with
37 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters