Combobox option

Description

A selectable entry in a combobox listbox.

Usage

bc_combobox_option(value, ..., label = NULL, filter = NULL)

Arguments

Argument Description
value String. The submitted value. When label is NULL, the rendered text too.
... Content of the option, used when label is NULL.
label String. Display text. Defaults to the value when NULL.
filter String. Extra text searched beyond the label.

Value

A <div> tag of class option role.

Details

data-label sets the input text when it differs from the content.

Examples

bc_combobox_option("Next.js")
Next.js

bc_combobox_option(
  "argentina",
  label = "Argentina",
  filter = "Argentina South America"
)
Argentina