Skip to main content
Feedback

Combobox component attributes

warning

The content on this page is outdated and will not receive updates. For the most up-to-date functionality, refer to Setting up and managing flows.

You can customize combobox components by applying attributes.

Default legacy player runtime

You can apply the following attributes when running flows with the default legacy player.

KeyValueDescription
classes
Page builder: Space delimited css classes
stringApply CSS directly to the component. The string value can consist of multiple entries to build up a CSS class selector, separated by a space character. See CSS reference.

For example, if a custom ".mw-bs .myChosenClassName" style is added to a player (either directly or through a linked stylesheet), this custom style can then be applied to the component using the value "myChosenClassName".
paginationbooleanBy default pagination is disabled for a combobox bound to a list of items. You can enable it by setting the pagination attribute to true.

  • true: Enables pagination for the combobox. Define the size using the paginationSize attribute.
  • false: Set by default, no pagination is enabled for the combobox.
paginationSizenumberIf pagination for the combobox has been enabled, this attribute allows you to set the number of items displayed on each 'page'. The default value is for 250 items to be displayed per 'page' of the combobox.

  • Set the value to the number of items to display on each page.
  • Set the value to zero ('0') to display all items (if this is supported by the connector that the combobox component is loading data from).

Metadata example

This metadata example uses the default legacy player runtime.

"attributes": {
"classes": "myclass1 myclass2",
"pagination": false,
"paginationSize": 10
}
On this Page