To be as simple as I can:
I have condition where I do not know where I'm going to have 3 or more input elements (type of "text") and I'm looking for solution which will generate 4th input type text when I start to fill 3th input field with characters, and so on.

Something similar Adminer have for adding new columns when creating/altering database:
![enter image description here](https://i.stack.imgur.com/xCYHY.png)

here you click on + to add new input and x to remove it. This would also be good to me.
How to achieve that/what library should I use?