-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
cannot reproduceThe team is unable to reproduce this issue with the information providedThe team is unable to reproduce this issue with the information provided
Description
Bug, feature request, or proposal:
Bug
What is the expected behavior?
boolean is passed to *ngIf and supposed to switch on when it is true
What is the current behavior?
md-error with *ngIf doesn't work at all. It only responds on predefined directives like required.
What are the steps to reproduce?
<md-input-container> <input mdInput [(ngModel)]="sample" name="sample" (keyup)="validateInput()"> <md-error *ngIf="isError">{{errMsg}}</md-error> </md-input-container>
Validate input on every keyup and set isError to true if the input is invalid.
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, browsers are affected?
angular 4.0.0, material 2.0.0-beta.3, macOS10.12.4, chrome
Is there anything else we should know?
WildDev, mayanksha and nhducseuit
Metadata
Metadata
Assignees
Labels
cannot reproduceThe team is unable to reproduce this issue with the information providedThe team is unable to reproduce this issue with the information provided