getOption (Client API reference)
Returns an option object with the value matching the argument (label or enumeration value) passed to the method.
Column types supported
Choice, Choices
Syntax
formContext.getAttribute(arg).getOption(value)
Parameters
String (label of the option) or Number (enumeration value of the option).
Return Value
Type: Option object.
Description: The logical name of the column.
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för