refactor: remove required validator from newSkill field #84
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)]),
|
||||
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)
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue