Combobox Option
Description
Create one choice in a combobox.
Usage
bc_combobox_option(value, ..., label = NULL, filter = NULL)
Arguments
| Argument | Description |
|---|---|
value |
String. The submitted value. |
... |
Content of the option, such as an icon beside a name. Defaults to label, then value. |
label |
String. Text shown in the input once the option is selected. Defaults to value. |
filter |
String. Extra text searched beyond the label. |
Value
An htmltools tag.
Details
Set label when the input text should differ from the option's content.
Examples
bc_combobox_option("Next.js")
Next.js
bc_combobox_option(
"argentina",
label = "Argentina",
filter = "Argentina South America"
)
Argentina