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)
Palaute
https://aka.ms/ContentUserFeedback.
Tulossa pian: Vuoden 2024 aikana poistamme asteittain GitHub Issuesin käytöstä sisällön palautemekanismina ja korvaamme sen uudella palautejärjestelmällä. Lisätietoja on täällä:Lähetä ja näytä palaute kohteelle