Skip to contents

A select input.

Usage

select(id, ...)

option(value, ...)

Arguments

id

The id of the select dropdown.

...

Any named properties.

value

Value of the option.

Details

See select

Examples

select(
  "select",
  option("Phone"),
  option("Table"),
  option("Laptop")
)
#> <ui5-select id="select">
#>   <ui5-option data-value="Phone"></ui5-option>
#>   <ui5-option data-value="Table"></ui5-option>
#>   <ui5-option data-value="Laptop"></ui5-option>
#> </ui5-select>