Value selection from list - Combobox

Dropdown field for selecting a value from a list

The dropdown field requires being fed a data source. To do this, in the component panel you must go to the section Properties of the component and choose Interactions and select External data sourceThen in the visible window click Select service and search the list for the appropriate dictionary, service or scriptEach of these items is marked with a different icon in the list. After selecting the appropriate data source, in the External data source section its name and information about the type are displayed:

  • DICTIONARY - if a dictionary was chosen,

  • EDS - if a service was chosen,

  • SCRIPT - if a script service was chosen.

Details: Connecting a dictionary data source.

Component properties

Eximee Designer property
Attribute name in the Source
Description

Number of characters to start searching (section Basic properties)

minTextLenghtToSearch

Specifies after how many entered characters the component values should be searched. Availability of the feature depends on the license and may not be available in all deployments.

Enable search option (section Basic properties)

searchable

Enabling the search option (by default the property is not checked) - depending on the license and/or channel:

  • when the property is set to "true" - after clicking the component a field to type the searched value is displayed

  • when this property is absent - after clicking the field typing characters (which are not displayed) causes filtering of values.

Field description (section Data quality)

description

Text displayed as a description of the field below it; by default this is an empty value. Availability of the feature depends on the license and may not be available in all deployments.

Position of additional description (section Styling)

descriptionPosition

Position of the description (choose from values NONE, BOTTOM and RIGHT). To display the dictionary with a description you must attach a dedicated service (field External data source ). Availability of the feature depends on the license and may not be available in all deployments.

Label for a single item in the list (section Other)

singleValueLabel

Specifies the component behavior when the list contains only one element. If the option is selected, the dropdown is replaced by a label (by default the property is not checked).

Content presentation adjusted to field size (section Other)

truncateContent

This property allows limiting the displayed selected value to as many characters as fit in the standard size of the component added to the form. All characters exceeding that size will be replaced with an ellipsis (...). The property is checked by default. If the property is unchecked, the component height will be adjusted to the size of the text in the selected value. Availability of the feature depends on the license and may not be available in all deployments.

Native on mobile (section Other)

nativeOnMobile

Specifies whether a native component is displayed in the mobile version "". Unchecking the property causes a popup to be displayed for every device (the property is checked by default). Availability of the feature depends on the license and may not be available in all deployments.

Additional label (section Other)

descriptionLabel

This is an additional description regarding the component. Child of the property Label. Availability of the feature depends on the license and may not be available in all deployments.

Displaying "Select..." (section Other)

emptyOption

Display the option "Select..." as the first item of the component (the property is checked by default). Unchecking the property causes the first dictionary element to be displayed.

Alternative text for "Select..." (section Other)

emptyOptionCustomText

Text displayed instead of "Select..." when the "Display 'Select...'" option is checked.

Hiding "Select..." from the list of available options

hideEmptyOptionOnList

Hide the default "Select..." value in the selection list (the property is not checked by default). For this property to make sense, enabling the option Displaying "Select...". Availability of the feature depends on the license and may not be available in all deployments.

Height of the dictionary list

listHeight

Height of the dictionary list (default value -1). Availability of the feature depends on the license and may not be available in all deployments.

Width of the dictionary list

listWidth

Width of the dictionary list (default value -1). Availability of the feature depends on the license and may not be available in all deployments.

Graphical representation of the component

presentation

Graphical representation of the component (choose from values STANDARD, WHEEL, VARIANT 2.0). The value STANDARD specifies the standard look of the component, WHEEL is a presentation of the component in the form of a scrolling wheel (available only in selected deployments). The value VARIANT 2.0 specifies the new look of the component (available only in selected deployments).

More information about component properties: Common component properties

Component output parameters when fed from a service

Parameter
Description

id

Identifier of individual items

text

Label of individual items

description

Additional label of individual items

value

Component value

iconUrl

URL pointing to the graphic displayed as an icon in the field. Availability of the feature depends on the license and may not be available in all deployments.

initValue

Initial value

metadata

Additional data of each item, used when collecting metrics. Availability of the feature depends on the license and may not be available in all deployments.

Illustration 1. List of values available after attaching the dictionary with the list of countries

Feeding the component via a service

The availability of functionality depends on the license and may not be available in all deployments.

Example implementation of a proxy-service:

Illustration 2. Example of wiring outputs in a component fed from a service

Demo form: demoCombobox

Last updated

Was this helpful?