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

@@ -30,7 +30,7 @@ export class HandledarePickerFormComponent implements OnChanges {
@Input() invalid = false;
@Output() selectedHandledareChanged = new EventEmitter<string>();
formGroup: FormGroup = new FormGroup({
handledare: new FormControl(null, [RequiredValidator('Handledare')]),
handledare: new FormControl(null, [RequiredValidator('Handledare är obligatorisk')]),
});
selectableHandledare: FormSelectItem[] = [];
submitted = false;

View File

@@ -27,7 +27,7 @@ export class OrganizationPickerFormComponent implements OnChanges {
@Output() selectedOrganizationChanged = new EventEmitter<Organization>();
organizationPickerFormGroup: FormGroup = new FormGroup({
organization: new FormControl(null, [RequiredValidator('Organisation')]),
organization: new FormControl(null, [RequiredValidator('Organisation är obligatorisk')]),
});
selectableOrganizations: Array<FormSelectItem> = [];