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

Reviewed-on: #84
This commit is contained in:
Jan Gleytenhoover 2025-01-22 11:36:25 +00:00
commit 1e42614b22

View file

@ -38,7 +38,7 @@ export class MitarbeiterFormComponent {
postcode: new FormControl(this.mitarbeiter.postcode, [Validators.required, Validators.minLength(5), Validators.maxLength(5)]),
city: new FormControl(this.mitarbeiter.city, Validators.required),
phone: new FormControl(this.mitarbeiter.phone, [Validators.required, Validators.pattern('^[- +()0-9]+$')]),
newSkill: new FormControl(null, Validators.required) // Added
newSkill: new FormControl(null)
});
}