tomSelect
@Composable
Creates TomSelect component.
Parameters
options
a list of options (value to label pairs)
value
initial value
emptyOption
determines if an empty option is allowed
multiple
determines if multiple value selection is allowed
maxOptions
the maximum number of visible options
tsOptions
Tom Select options
tsCallbacks
Tom Select callbacks
tsRenders
Tom Select renders
name
the name of the select
placeholder
the placeholder for the select component
disabled
whether the select is disabled
required
whether the select is required
className
the CSS class name
id
the ID of the select component
setup
a function for setting up the component