title: Angular reactive forms set and clear validators
body: <p>Please assist, i want to remove all validators in form, Please advise if its possible or not and if not whats the better way to remove validators if you have a form Group of 20 or more form controls, see example below.</p>
  
  <pre><code> ngOnInit() {
      this.exampleFormGroup = this.formBuilder.group({
       surname: ['', [Validators.required, Validators.pattern('^[\\w\\s/-/(/)]{3,50}$')]],
       initials: ['', [Validators.required, Validators.maxLength(4)]]
       });
    }
  
   public removeValidators() {
      this.exampleFormGroup.get('surname').clearValidators();
      this.exampleFormGroup.get('initials').clearValidators();
      this.exampleFormGroup.updateValueAndValidity();
   }
  
   public addValidators() { 
    this.exampleFormGroup .get('surname').setValidators([Validators.required,Validators.pattern('^[\\w\\s/-/(/)]{3,50}$')]);
    this.exampleFormGroup.get('initials').setValidators([Validators.required, Validators.maxLength(4)]);
    this.exampleFormGroup.updateValueAndValidity(); 
   }
  </code></pre>
  
  <p>The above method <code>addValidators()</code> will add validators and <code>removeValidators()</code> will remove validators when executed. but the problem i have is, i have to specify the form control im trying to clear validators. is there a way to just do <code>this.exampleFormGroup.clearValidators();</code> and clear all in the form and again <code>this.exampleFormGroup.setValidators()</code> to set them back. i know i may be asking for a unicorn but in a scenario where the formGroup has 20 or more controls clearing and setting validators can be painful so a map on how to handle such scenarios will be much appreciated. </p>