disable_inputs <- function(input_list,enable_inputs=T)
{
# Toggle elements
for(x in names(input_list))
if(enable_inputs){
shinyjs::enable(x)} else {
shinyjs::disable(x) }
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.