ComboBox style attributes

ComboBox style presentation attributes apply to a combobox element.

Note: This topic lists presentation style attributes for a specific class of form element, common presentation style attributes can also be used for this type of element.
Table 1. ComboBox style attributes
Attribute GDC GWC-JS GMA GMI
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 No No
comboboxCompleter
Important: This style attribute is deprecated. Consider using the COMPLETER form field attribute instead.

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 No 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 No No