Skip to contents

Updates the selection and/or choices of an existing tuiInputDropdown() input.

Usage

tuiUpdateDropdownInput(id, selected = NULL, choices = NULL)

Arguments

id

Input id passed to tuiInputDropdown().

selected

Optional selected value. Must match one of effective choices. If NULL, current value is kept when valid; otherwise the first choice is selected.

choices

Optional replacement choice vector.

Value

Invisibly returns NULL.