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