How to put "Input values" on the Box Title

shiny
dashboard
#1

Hi people!

How can i put some input$value in the Box Title?

box( title = "Relatorio de Capabilidade - Diametro x Parede - AQA - Grau",
                              width = "8",
                              footer = "Aqui pode vir qualquer texto",
                              plotOutput("histograma")
                         ),

I'm using dashboardpage.
If i have a
numericInput(inputId= "diametro", label= "Diametro do Aco:", value = 0)
how can this value comming from this input, appear on the title?

I tried that way (and other variations):
box( title = "Relatorio de Capabilidade - "input$diametro" x Parede - AQA - Grau"

But did not work

0 Likes

#2

You would have to construct the title string with something like paste()or glue() but is hard to know for sure if that is the only issue here, because you are not providing context.

Could you please turn this into a self-contained REPRoducible EXample (reprex)?

0 Likes

closed #3

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.

0 Likes