Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

177
Views
How to access form group elements in angular

I am new to angular and I am trying to create a simple form. I have created a form group that inside has elements that are also form group. And when I try to console log the form like this:

console.log(this.form.controls)


{logic: FormGroup}
    logic: FormGroup
        controls:
            action: FormControl {_pendingDirty: false, _hasOwnPendingAsyncValidator: false, _pendingTouched: false, _parent: FormGroup, _onCollectionChange: ƒ, …}
            conditions: FormArray
                controls: Array(0)... and so on.

So what I need is iterate throught this conditions formArray, and when I try to access the value:

this.form.controls.logic.controls.conditions

I am getting undefined. How to access this conditions formArray?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!