options
optionsArray<Option>
Sets or gets the options in a radio button group.
Setting the options property sets all the options available to a user in a radio button group.
options is an array of option objects. Each option object can contain a label property, which is what the user sees, and a value property, which is what is used in code and stored in your collections.
Set options to an empty array ([]) to remove the current radio button group options.
Getting the options property returns the current list of options available to a user.
You cannot modify the data array in-place. To add, change, or remove individual radio button group options:
- Store the value of the options property in a variable.
- Make changes to the options array.
- Reset the options property with the modified array.
Was this helpful?
Yes
No