Is this possible?
--
You received this message because you are subscribed to a topic in the Google Groups "Shiny - Web Framework for R" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/shiny-discuss/BFUgjICEQlc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to shiny-discus...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
--
a. create your own component based on Rstudio's original code but with those lines changed. Call this component something other than textInput.
b. Actually since Shiny is a open source project you can contribute to it. Write the code so that in ui.R the user can specify the behaviour they want using a new argument, then change the js code so that both options are covered. Do a pull request and see what happens.
find is what shiny uses to identify your complements. In the above it's looking for an input element with type = "text".
So including a button won't work. U need to modify it further to make sure that shiny can identify ur component. See if I can whip up an example when I am back to my desk