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

143
Views
Angular pipe with reactive formControlName of angular form array

Here i am using custom pipe to format the rate field. Which is read only field. Issue is value attribute not formating the rate field on page load. Which is working for another fields

<div formArrayName="rateList" *ngFor="let product of formData.controls; let i=index;">
                    <div [formGroupName]="i">
                      <input formControlName="rate" readonly="readonly"
                        [value]="formData.controls[i].get('rate').value  | udpCurrency : false : this.translate.currentLang" />
                    </div>
                  </div>
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

I don't know the exact answer for this, but as a workaround you can use setTimeout at the time you are setting the value to the form array.

setTimeout(()=> {
  this.rateList.setValue(someRateArray)
} ,0)
about 4 years ago · Juan Pablo Isaza Report
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!