Hi
I am getting error - Parse error Missing expected ]
<mat-form-field appearance="outline">
<mat-label>First Name</mat-label>
<input matInput type="text" formControlName="firstName">
<div class="text-danger" @if="empForm.firstName.invalid && (emoForm.firstName.touched || empForm.firstName.dirty)">
<span @if="firstName.errors?.['required'> This is required </span>
</div>
</mat-form-field>
Thanks