Merge pull request 'refactor: remove required validator from newSkill field' (#84) from fix/fix-save-not-working into main
All checks were successful
Playwright Tests / test (push) Successful in 2m25s
All checks were successful
Playwright Tests / test (push) Successful in 2m25s
Reviewed-on: #84
This commit is contained in:
commit
1e42614b22
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ export class MitarbeiterFormComponent {
|
||||||
postcode: new FormControl(this.mitarbeiter.postcode, [Validators.required, Validators.minLength(5), Validators.maxLength(5)]),
|
postcode: new FormControl(this.mitarbeiter.postcode, [Validators.required, Validators.minLength(5), Validators.maxLength(5)]),
|
||||||
city: new FormControl(this.mitarbeiter.city, Validators.required),
|
city: new FormControl(this.mitarbeiter.city, Validators.required),
|
||||||
phone: new FormControl(this.mitarbeiter.phone, [Validators.required, Validators.pattern('^[- +()0-9]+$')]),
|
phone: new FormControl(this.mitarbeiter.phone, [Validators.required, Validators.pattern('^[- +()0-9]+$')]),
|
||||||
newSkill: new FormControl(null, Validators.required) // Added
|
newSkill: new FormControl(null)
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue