Given the template
<label for="name">Name</label>
<input type="text" class="form-control" id="name"
required
[(ngModel)]="model.name" name="name"
#name="ngModel" >
<div [hidden]="name.valid || name.pristine"
class="alert alert-danger">Name is required</div>
The ng language service will draw red squiggles under name.valid and name.pristine with the error
[Angular] Identifier 'valid' is not defined. 'NgModel' does not contain such a member
Tracking in https://github.com/angular/angular/issues/15460
Fixed in 0.1.1
I have the exact same problem in 0.1.3
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
I have the exact same problem in
0.1.3