Input criteria for selecting an option within a <select> element, used by ‘selectOption’. Specify one of ‘value’, ‘label’, or ‘index’.

Definition

input SelectValueOptions {
  value: String
  label: String
  index: Int
}

Fields

value: String

Select the option whose ‘value’ attribute matches this string. Example: "option_value_1".

label: String

Select the option whose visible text (label) matches this string. Example: "First Option".

index: Int

Select the option at this 0-based index within the <select> element. Example: 0 for the first option.