1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

p-dropdown doesn't setValue manually with Reactive Form

Discussão em 'Angular' iniciado por NewKey, Agosto 28, 2025.

  1. NewKey

    NewKey Guest

    I'm trying to set manually the form after some services retrieve some information, and I need to set back again to the dropdown the values (using setTimeout for practicity).

    Along side are a normal selector which work accordingly to what I expected. I did the same with the p-dropdown i doesn't work at all.

    It detected the change by the method onChange but again nothing happen.

    https://stackblitz.com/edit/ge9bjb?file=src/app/demo/dropdown-reactive-forms-demo.ts

    Maybe it need some reference on the <p-dropdown> in order to work?

    Continue reading...

Compartilhe esta Página