Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

142
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda