I have a dynamic accordion list i want to do one thing

I have a dynamic accordion list i want to do one thing .

This is my accordion list view
Screen Shot 2019-12-14 at 17.57.47

while user click over apple brand on that time its open like this

and the above textbox its generated dynamically from drop-down if user wish to add more textbox they can change the drop down value. Think is that. this.text box also show inside others brand like sony blackberry. But i want when user open up the particular accordion only generate textbox for that particular brand how can i do that?
Please help . Am helpless
Thanks in advance

Please provide more Information: You HTML, TS Code.