Angular

Last Updated: 8/31/2023

Displaying Async Validator Progress

  • When working with asyncvalidators we want to display a loader image while async operation is in progress
  • In formcontrol pending property return true if at least 1 async validator is in progress
<div *ngIf="username.pending">Checking for uniqueness...</div>