Usage and example
To configure the dropdown web extension, you must specify these parameters:
- Theme: Specifies the color theme. Options are "Vibrant" and "Subtle". "Subtle" is the default.
- Mode: Specifies the color. The values are "Light", "Dark", "High Contrast", and "". The empty string value "" equates to "Light".
- Label: Sets the label of the control. An empty string value "" hides the label, the required indicator, and the information icon with tooltip.
- Item Data: Defines a table of items to show in the
dropdown, with these columns:
- Item ID. Use this column to define actions on selection changes
- Item Caption
- Selected (FALSE = empty string "" or TRUE)
- Disabled. Optional column (FALSE = empty string "" or TRUE)
- Visible. Optional column (TRUE = empty string "" or FALSE)
- Multiselect: Specifies whether the dropdown allows single or multiple select. Use empty string "" or "FALSE" for single select and "TRUE" for multiple select.
- Mandatory: Defines whether or not the selection of an element is required. If not provided, the default is "TRUE".
- Information: Provides tooltip text for the icon. Empty string "" hides the information icon.
- State: Defines the control state as "Enabled", "Disabled" or "Read-only". If not provided, the default "Enabled" is used.
- Hint Text: Defines the hint text as a string, which is shown if no date is selected. Empty string "" shows the date format, which is dependent on the regional settings.
This example shows how to create a single select dropdown and store the selection in a report variable for further processing.