r - Shiny: dynamic default value for textInput -


i see textinput has default value field. however, can't seem figure out how dynamically set default value field. lets have selectinput, want default value of textinput value selected in selectinput text appended it, user can freely edit.

on ui side have textinput can't value=paste0(output$selectname,"_sometext") because can't use output.

i'm guessing answer involves code on server side updates textinput. can't seem figure how updatetextinput want, though sounds want. advice on dynamically generating default value textinput appreciated.

regards

it appears needed use observe in server side , updatetextinput worked.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -