The chip input is a selectize alternative. Choices are selected from a
dropdown menu and appear as chips below the input's text box. Chips do not
appear in the order they are selected. Instead chips are shown in the order
specified by the choices argument. Use the max argument to limit the
number of choices a user may select.
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.
inline
One of TRUE or FALSE specifying if chips are rendered
inline. If TRUE multiple chips may fit onto a single row, otherwise, if
FALSE, chips expand to fill the width of their parent element, one chip
per row.