<digi-form-error-list
  *ngIf="validationErrorLinks && validationErrorLinks.length"
  [afHeading]="headingText"
  [afOverrideLink]="true"
  (afOnClickLink)="setFocusOnFormElement($event.detail.detail.target)"
>
  <a
    msfaAnchorLink
    *ngFor="let validationErrorLink of validationErrorLinks"
    [attr.href]="'#' + validationErrorLink.elementId"
  >
    {{ validationErrorLink.text }}
  </a>
</digi-form-error-list>
