Skip to content

Latest commit

 

History

History

server-to-ui-variable

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Use a variable from the server in a UI conditionalPanel()

When using a conditional panel in the UI, the condition is usually an expression that uses an input value. But what happens when you want to use a conditional panel with a more complex condition that is not necessarily directly related to an input field? This example shows how to define an output variable in the server code that you can use in the UI. An alternative approach is to use the show() and hide() functions from the shinyjs package.