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)
Обратна връзка
https://aka.ms/ContentUserFeedback.
Очаквайте скоро: През цялата 2024 г. постепенно ще отстраняваме проблемите в GitHub като механизъм за обратна връзка за съдържание и ще го заменим с нова система за обратна връзка. За повече информация вижте:Подаване и преглед на обратна връзка за