I have a component named home
with 3 input fields for Country, City, and State. You can see them in the image below:
https://i.sstatic.net/ZMXfD.png
I've implemented dynamic addition of input fields, and it's functioning well as shown in the image here:
https://i.sstatic.net/6YmFA.png
However, my specific requirement is: I want to replace the input field
in the Country
section with a dropdown
(select component). Unfortunately, I'm having trouble achieving this.
For a demo, you can check out my Stackblitz link: DEMO