Select

A versatile dropdown selection component that supports single and multiple selection modes, option filtering, and dynamic data loading. Features customizable option labels and values, searchable options, multi-select with chips, and clearable selections. Supports both static options and dynamic data binding through entity relationships.


Extends: fieldComponent


Fields

Name

Code

Data Type

Description

Label

label

multi-locale

Display label for the select field

ID

resourceId

text

Unique identifier for the component

Style Classes

styleClasses

text

CSS classes for styling

Width

widthClass

text

Controls component width

Value

value

text

Currently selected option value(s)

Visible

isVisible

boolean

Controls component visibility

Enabled

enabled

boolean

Controls whether component is enabled

Field Style

fieldStyle

text

Additional field styling options

Clearable

clearable

boolean

When enabled, allows users to clear their selection

Multi Select

multiSelect

boolean

Enables selection of multiple options with chip display

Options

options

text

Array of selectable options to display in the dropdown

Option Value Field

selectionOptionsValueField

text

Specifies which field from the options to use as the value

Option Label Field

selectionOptionsLabelField

text

Specifies which field from the options to display as the label

Text Filter

textFilter

text

Filter pattern for searching through options

List Model

listModel

text

Data model configuration for dynamic option loading


Methods

Name

Description

filterFn

Handles filtering of options based on user input

fromValue

Converts the input value to the select's internal value representation

toValue

Converts the select's internal value to the output value format

onChange

Handles selection changes and triggers change events


Events

Name

Description

onChange

Triggered when the selected option(s) change

onBlur

Triggered when the select dropdown loses focus

onFocus

Triggered when the select dropdown gains focus