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. |
Comentários
https://aka.ms/ContentUserFeedback.
Em breve: Ao longo de 2024, eliminaremos os problemas do GitHub como o mecanismo de comentários para conteúdo e o substituiremos por um novo sistema de comentários. Para obter mais informações, consulteEnviar e exibir comentários de