ComboBox style attributes

ComboBox style presentation attributes apply to a combobox element.

Table 1. ComboBox style attributes
Attribute Description GDC CLIENT HTML5 CLIENT
autoSelectionStart

Defines the item from which the auto-selection will start, when pressing keys.

Valid can be:
  • "current" (default): the auto-selection looks for the first corresponding item after the current item of the object.
  • "first": the auto-selection looks for the first corresponding item after the first item of the object.
Yes No
comboboxCompleter

Activate the ComboBox completer mode.

Possible values are "yes" and "no" (default).

When this attribute is set to yes, the ComboBox will have the following behavior:

  • The ComboBox is editable, but only characters that match an item in the list are allowed (if the list contains the item "aa" and the item "ab", you can type "a", "aa", "ab", but nothing else. If you paste text in the field, it will be truncated until the rule is fulfilled.
  • The drop-down list will only display item which starts with the same characters as the edit field. It is dynamically updated as you type (if the list contains the item "aa" and the item "ab" and you type "a", you will see both item displayed, but if you continue to type another "a", you will only see "aa" in the list.
  • The best match is automatically selected when leaving the field (thus performing an "on change") as soon as you hit "TAB" key, even if the input is not complete.
Yes No
completionTimeout

Defines the timeout (in milliseconds) to build the character sequence for item lookup when the user presses several keys successively. When pressing multiple keys, a character sequence is build for item lookup. After the timeout delay has expired, the character sequence is reset.

Yes No