How to output a button

Hi everyone,

I'm making a shiny app with a text input and a go button. I've written code that will suggest other, similar inputs users could tried based on the current input. Currently the suggestions are given as text.

To save mobile users from having to delete the current input and type in a suggestion, I would like to make each suggestion a button/link to change the input. As the suggestions are based on the input, this would make the buttons for each suggestion an output. Is there some way to output a button in this manner?

Thanks!

I hope you find this article helpful.
https://shiny.rstudio.com/articles/dynamic-ui.html

1 Like

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.