Typo fixes for required fields
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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> = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user