Null check condition with object of object in ngModel in HTML in Angular
[(ngModel)] = "kodingAttittude?.Employee && kodingAttitude?.Employee.Name"
<input formControlName="empName"
[(ngModel)]="kodingAttitude?.Employee && kodingAttitude?.Employee.Name">
No comments:
Post a Comment
Note: only a member of this blog may post a comment.