Dropdown Options Object

The “Dropdown” parameter is another “choice” type parameter but confined to a single form element.

Field
Type
Description

name

string

Label of the widget.

Example: Segment

hintText

string

Provides help text describing what value is expected in control.

Example: Define segment value

placeholderText

string

(optional) Provides default text within the control when no selection is not made.

Example: Commercial

description

string

(optional) Provides description for the drop down component.

Example: Define segment value

optionsList

selectionOption

Effectively a data source for the parameter options

component provides drag and drop functionality to determine the ordering of options.

Example:

defaultValue

string

(optional) used to mark default selection if needed (one selection only).

Example: Win11x64

Example

{
  "name": "Which service you are interested in?",
  "hintText": "Select one value",
  "description": "Select interested service",
  "placeholderText": "Select your choice"
  "optionsList": [
    {
      "label": "Microsoft Office 365",
      "value": "MsOffice365"
    },
    {
      "label": "Dynamics 365",
      "value": "Dynam365"
    },
    {
      "label": "Windows 11"
      "value": "Win11x64"
    }
  ],
  "defaultValue": "Dynam365"
}

Last updated

Was this helpful?