update_material_dropdown {shinymaterial}R Documentation

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.

See Also

material_dropdown

Examples

## Not run: 
update_material_dropdown(
  session,
  input_id = "example_dropdown",
  value = "New Text"
)

## End(Not run)

[Package shinymaterial version 1.2.0 Index]