shinymaterial (version 0.5.3)

update_material_dropdown: Change the value of a material_dropdown on the client

Description

Change the value of a material_dropdown on the client.

Usage

update_material_dropdown(session, input_id, value = NULL, choices = NULL)

Arguments

session

The session object passed to function given to shinyServer.

input_id

The input_id of the material_dropdown.

value

The value to set for the material_dropdown.

choices

The choices to set for the material_dropdown.

Examples

Run this code
# NOT RUN {
update_material_dropdown(
  session,
  input_id = "example_dropdown",
  value = "New Text"
)
# }

Run the code above in your browser using DataLab