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.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for