attribute.getOptions (Client API reference)
Returns an array of option objects representing valid options for a column.
Column types supported
Choice, Choices
Syntax
formContext.getAttribute(arg).getOptions()
Return Value
Type: Array of option objects.
Description: The array of option objects representing valid options.
Options have two properties:
Property | Type | Description |
---|---|---|
text |
string | The localized label for the option. |
value |
number | The integer value of the option. |
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