Answers for "reactive forms angular conditional disabling"

0

reactive forms angular conditional disabling

checkValue(event: Event) {
  const ctrl = this.activityForm.get('docType');

  if (event.value === 'document') {
    ctrl.enable();
  } else {
    ctrl.disable();
  }
}
Posted by: Guest on January-07-2021

Code answers related to "reactive forms angular conditional disabling"

Code answers related to "Javascript"

Browse Popular Code Answers by Language