In Angular 4 app I have a form model like this:
this.form = this._fb.group({ title: [\'\', [Validators.required, Validators.minLength(3), Validators.maxLengt
saveDraft() { this.form.get('title').setValidators([Validators.required, Validators.minLength(3)]); this.form.get('title').updateValueAndValidity(); } saveDraft() { this.form.get('title').clearValidators(); this.form.get('title').updateValueAndValidity(); }