Typo fixes for required fields

This commit is contained in:
Erik Tiekstra
2021-10-11 09:46:54 +02:00
parent 3d5d31ce9e
commit 631418bc09
7 changed files with 19 additions and 23 deletions

View File

@@ -14,7 +14,7 @@ import { BehaviorSubject, Observable } from 'rxjs';
})
export class EmployeeInviteComponent {
formGroup: FormGroup = new FormGroup({
emails: new FormControl('', [RequiredValidator('E-postadresser'), CommaSeparatedEmailValidator()]),
emails: new FormControl('', [RequiredValidator(), CommaSeparatedEmailValidator()]),
});
private _lastInvites$ = new BehaviorSubject<EmployeeInviteResponse>(null);
lastInvites$: Observable<EmployeeInviteResponse> = this._lastInvites$.asObservable();