chipInput(id, choices, values = choices, selected = NULL, ...,
max = NULL, fill = TRUE)
Arguments
id
A character string specifying the id of the reactive input.
choices
A character vector or list specifying the possible choices.
values
A character vector or list of strings specifying the input's
values, defaults to choices.
selected
One or more of values specifying which values are selected
by default.
...
Additional named arguments passed as HTML attributes to the parent
element.
max
A number specifying the maximum number of items a user may select.
fill
One of TRUE or FALSE specifying the layout of chips. If
TRUE chips fill the width of the parent element, otherwise if FALSE the
chips are rendered inline, defaults to TRUE.