Created
June 30, 2017 06:43
-
-
Save stevermeister/9eb766ea93950ae844155e85adf2b62a to your computer and use it in GitHub Desktop.
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.name.statusChanges | |
.distinctUntilChanged() | |
.filter(status => status === 'INVALID') | |
.subscribe(() => { | |
console.log(this.name.errors); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment