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.
Related articles
getInitialValue (Client API reference)
getOption (Client API reference)
getOptions (Client API reference)
getText (Client API reference)
Tagasiside
https://aka.ms/ContentUserFeedback.
Varsti tulekul: 2024. aasta jooksul tühistame GitHubi probleemide funktsiooni sisutagasiside mehhanismina ja asendame selle uue tagasisidesüsteemiga. Lisateabe saamiseks vtEsita ja vaata tagasisidet