Chris Straw
SHARE:

Loop through Angular Reactive Form Controls

    for (const c in this.searchForm.controls) {
      if (this.searchForm.controls.hasOwnProperty(c) && this.searchForm.controls.value) {
        const value = this.searchForm.controls.value;
      }
    }