Relative Content

Tag Archive for angularangular-materialangular-directiveangular18

Can we use inside a *For* loop in Angular

I have created a common component. I am stuck in a problem where I am using angular material and using mat-form-field. I am using @if in angular 18 to check for a condition then mat-error is working fine. But when I am using @for it is not working and mat-error is showing inside input field not in mat-error. Also I need put my condition like this: