I have accessed to a variable called key in this html element. How do I put the key inside of the
*ngIf below: *ngIf="isSubmitted && errors.key.translations"
, especially the errors.key.translation
part.
<div class="form-group col" *ngFor="let key of matchingKeys">
<div
*ngIf="isSubmitted && errors.key.translations"
class="invalid-feedback"
>
</div>