Skip to main content

Dropdown inputs

A form element to select from a list of enumerated options. They can be configured to return either string or numeric data types.

Static values#

Static values are input manually. Hex supports several methods:

  • Typing them one-by-one and hitting Enter/Return on your keyboard
  • Entering a comma-separated list (option 1, option 2, option 3) and hitting Enter/Return on your keyboard
  • Copy-pasting a comma separated list

Dynamic values#

Dynamic values allow you to link a dropdown's available options to a list, numpy array, or Pandas series from the code itself.

In both the Logic View and App Builder, if the selected value is no longer available in the input object (i.e., an upstream change eliminates that option), the selection will default to the first value in the input object.