angular formbuilder disable control based other formControl value code example Example: disable formcontrol angular this.form.controls['name'].disable();