Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sandip1699/0b8a06a6b00feb376d69864894f672db to your computer and use it in GitHub Desktop.
Save sandip1699/0b8a06a6b00feb376d69864894f672db to your computer and use it in GitHub Desktop.
<mat-form-field appearance="outline">
<mat-label>Notary Type</mat-label>
<mat-select placeholder="Select Notary Type" formControlName="notaryType" [disableOptionCentering]="true"
[(ngModel)]="savenotaryObj.idOfNotaryType" required>
<mat-option *ngFor="let type of allNotaryType" [value]="type.id">{{type.name}}</mat-option>
</mat-select>
<mat-error *ngIf="hasError('notaryType', 'required')">
{{utilsService.validationService.NOTARY_TYPE_REQUIRED}}</mat-error>
</mat-form-field>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment