編輯

共用方式為


getSelectedOption (Client API reference)

Returns the option object or an array of option objects selected in a choice or choices column respectively.

Column types supported

choice, choices

Syntax

formContext.getAttribute(arg).getSelectedOption()

Return Value

Type: Option object for choice; array of option objects for choices.

Description: Returns the object with text and value properties.

getInitialValue (Client API reference)
getOption (Client API reference)
getOptions (Client API reference)
getText (Client API reference)