Created
December 18, 2023 20:28
-
-
Save andrewarosario/1883fd76ee4efab938e7b16be4916992 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form [formGroup]="form"> | |
<input formControlName="username" /> | |
<span *ngIf="form.controls.username.pending">Estamos consultando este nome...</span> | |
<span *ngIf="form.controls.username.hasError('uniqueName')">Este nome já está sendo utilizado por outro usuário!</span> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment