Dropdown key-value pairs?

Hi!

Please use the code from this topic: How can I update Dropdown Items dynamically with JS

You can also programmatically select the value of a dropdown field:

  1. By value: fd.field(‘DropDown0’).widget.value(2);
  2. By index (zero-based): fd.field(‘DropDown0’).widget.select(1);