Button to add new entries?

It seems simple, but I can’t. I would like that when the user wanted to register more than one phone number for example, he would click on a button and new inputs would appear, how to do it?

Set state that controls the visibility of additional input fields - have the button change this state as desired.

but what if in this case I want to leave the option infinite? Would? Because I wouldn’t know how much data the user would like to add. Thanks for your help.

This topic was automatically closed after 70 days. New replies are no longer allowed.