<Select />
<Select>
is a component for inputting values in a selection format to the state declared by the defineState()
function.
Properties
State object to bind the input value of the component. Please specify the state declared by the defineState()
function.
Subcomponents
<SelectItem />
<SelectItem>
is a component for defining options within the <Select>
component.
Value of the option
<SelectItems />
<SelectItems>
is a component for defining options in bulk within the <Select>
component.
There are two ways to pass values to Select Items.
-
Specify as an array
-
Specify an alias of a function that returns a DataFrame
Array containing the values and labels of the options. Use the valueKey
and labelKey
properties to specify which field is used as the value and which field is used as the label.
Alias of the Python function to retrieve the options
Field name containing the value of the options
Field name containing the label of the options