clearOptions (Client API reference)

Clears all options from a control.

Control types supported

Choice, Choices

Syntax

formContext.getControl(arg).clearOptions();

addOption
removeOption