Native Select
Last updated
Was this helpful?
Last updated
Was this helpful?
(part of package 'Bootstrap Components') Extends designtime/SolutionModel: JSWebComponent Extends runtime: RuntimeWebComponent
Native Select displays a dropdown list of values. Allows single or multiple selection, bound to a data provider.
This is a reference page; many components have detailed usage guides here.
Bound data provider identifier for the select component's value. Type:
Flag indicating whether the select component is enabled for user interaction. Type: Default Value: true
Flag indicating whether multiple selections are allowed. Type: Boolean Default Value: false
Placeholder text displayed when no value is selected. Type:
The number of rows (visible options) to display in the dropdown list. Type: Number Default Value: 1
Fired when an option is selected from the dropdown.
Parameters:
{JSEvent} event The event object containing details about the action event e.g. target element, selected option
Handle changed data, return false if the value should not be accepted. JSEvent.data will contain extra information about dataproviderid, its scope and the scope id (record datasource or form/global variable scope)
Parameters:
{JSEvent} event The event object associated with the data change
Returns: {Boolean}
Fired when the select component gains focus.
Parameters:
{JSEvent} event The event object containing details about the focus gained event e.g. target element, timestamp
Fired when the select component loses focus.
Parameters:
{JSEvent} event The event object containing details about the focus lost event e.g. target element, timestamp
Set the focus to combobox.
Example:
Parameters:
{Boolean} [mustExecuteOnFocusGainedMethod] If false will not execute the onFocusGained method; the default value is true
Set the styleclasses that should be applied at to this component Type: Default Value: "form-control"
Tab sequence order for keyboard navigation. Type:
Tooltip text displayed when hovering over the select component. Type:
Identifier for the value list that provides the available options for the select component. Type:
Whether the button is visible or not Type:
{} oldValue The previous value from the data provider
{} newValue The new value to be set in the data provider