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

I need help in approach for making my Angular dynamic form more dynamic

Discussão em 'Angular' iniciado por Sam K, Maio 20, 2025.

  1. Sam K

    Sam K Guest

    I have been into Angular and this site really helped me in building an application. I have built a dynamic form in angular with JSON data, where it creates a form dynamically with different controls, validations, properties etc. However, i want to make it even more dynamic, for example one of the control type is say "Picklist" in the json, in this case i want to create a dropdown and pull values from DB and bind it with Dropdown control. Assuming that i already have APIs. Question is, how to make store the dropdown values dynamically across the application.

    I want it to be dynamic, say suppose in my JSON i have 2 picklist dropdown, Country and State for which the values will be fetched from API. I need to dynamically call the respective APIs and store the array of values somewhere to load when the form loads right. In this case i think i have to use Array and to make the subscribe method non Async so that i can store the values in respective Array index

    Continue reading...

Compartilhe esta Página