I need to be able to add textInput() side by side in a shiny application. There should be a textInput() which takes the lable of the new text box and command button, where every time command button clicked, a new textbox should be added to the list where label should be taken from the first txtInput.
for example:
1stTextBox:[ Application ]
{commandButton}
when I click the commandButton, I should have a textInput like this below the commandButton,
Application:[ ]
if I put something else to 1stTextBox and click the command button, it should be added to textInput list.
Any ideas how could do this in shiny dynamically?
This is the error:
Listening on http://127.0.0.1:3091
Warning: Error in handlers$add: Key / already in use
Stack trace (innermost first):
43: handlers$add
42: handlerManager$addHandler
41: startApp
40: runApp
1: shiny::runApp
Error in handlers$add(handler, key, tail) : Key / already in use