(this page was created automatically. In case of formatting issues, please visit the official Wiki Page)

Combobox

[!WARNING] This article contains information on the Combobox and Multi Combobox. It therefor might be misleading.

Overview

Dynamic Combobox component overview

Specs

Tokens

Token Description
displayName Sets the display name of the component in the structure panel.
labelTranslations Sets the field label with multilingual support.
showClearIcon Controls whether an "x" button clears the selected value.
saveInLocalStorage Determines if the selected value is preserved in local storage.
defaultValue Sets the initial value when the combobox is first rendered.
readonly Controls whether the combobox allows user interaction.
useStaticData Determines whether static or API data is used.
staticData Defines the list of dropdown options when using static data.
dataSourcePath Specifies the path in the API response for options.
dataField Defines the field name used in submitted form data.
controlsRequestType Specifies whether the field data is sent in BODY or HEADER.
dataSourceId Specifies the data source ID for retrieving options.
getEntityCollectionHttpRequestParametersMap Configures HTTP parameters for API requests.
modelValue Defines the field used as the option value.
modelDisplayValue Defines the field shown as the option label.
searchKey Specifies which field is used for filtering during typing.
emitObject Controls whether the whole object is emitted or just the key field.
pageSize Sets the number of items loaded per page when fetching data.
loadAll Determines if all data is loaded at once or via pagination.
validation Configures validation rules for the combobox.
required (Validation) Ensures a selection is made before form submission.
events Defines the events the combobox can trigger or respond to.
ON_INIT (Events) Event triggered when the combobox is initialized.
ON_DESTROY (Events) Event triggered when the combobox is removed.
ON_VALUE_CHANGE (Events) Event triggered when the user selects a different option.
ON_INIT_BASED_ON_USER_VIEW (Events) Event triggered when the component initializes in user view mode.
dataTestId Testing hook ID for automated testing.

Structure

Labled Combobox

(Configured in Genereal Properties)

(Configured in Non-Visual Properties)

Data Management

(Configured in Non-Visual Properties)

Interface for configuring static data

Datasource

(Configured in Datasource)

Data Field

(Configured in Non-Visual Properties)

(Configured in Datasource)

Filtering Data

(Configured in Datasource)

Loading Strategy

(Configured in Datasource)

Styling

(Configured in Visual Properties)

Actions & Variants

(Configured in Events)

(Configured in Visual Properties)

Tests

(Configured in Testing Hooks)

Validation

(Configured in Validation)

Links

Guidelines

Usage

Sizing & Layout

Data-Driven / Conditional Behavior

Content & Localization

Dos & Don’ts

Do Don’t Article setting(s)
Localize the field label for all supported locales and keep it short in sentence-style capitalization. Hardcode the label in one language or add punctuation like colons. labelTranslations
Map option value and label explicitly to the correct fields. Swap value/label and confuse submissions. modelValue, modelDisplayValue
Write option labels as short, parallel phrases and ensure the displayed text comes from a concise field. Mix long sentences, inconsistent parts of speech, or jargon across options. modelDisplayValue, staticData
Include a “None” option when no selection is valid, make the field not required, and allow easy clearing. Force a choice when “no value” is acceptable. staticData, validation.required, showClearIcon
Sort options in a logical, scannable order (e.g., alphabetical) via data order or server sort. Leave options in an arbitrary order that slows scanning. staticData, getEntityCollectionHttpRequestParametersMap
Filter on a field users recognize. Search by an internal ID that users don’t understand. searchKey, modelDisplayValue
Provide a default only when useful. Preselect when an explicit decision is required. defaultValue, validation.required
Persist only when appropriate for the same user/session. Persist sensitive or context-specific choices. saveInLocalStorage
Emit the payload shape your consumer expects. Break integrations by switching payload shapes silently. emitObject, dataField
Initialize deterministically before interaction and clean up on removal. Defer setup until first click or leave dangling listeners. ON_INIT, ON_INIT_BASED_ON_USER_VIEW, ON_DESTROY

Accessibility