Add Choices to Common Field Dropdown

Hey,

is it possible to dynamically add choices to a common field dropdown and if, how?

Hello @JoshMohr,

Yes, you can add choice values to the dropdown common field with this code:

fd.field('DropDown0').widget.dataSource.data().push('New Value');
1 Like