clearOptions (Client API reference)

Clears all options from a control.

Control types supported

OptionSet, MultiSelectOptionSet

Syntax

formContext.getControl(arg).clearOptions();

addOption

removeOption