options


optionsArray<Option>

Sets or gets a list of items which will be rendered as tags.

Setting the options property sets all the options available to a site visitor.

Getting the options property returns the current list of options available to a site visitor.

Each option contains a label, which is what the site visitor sees, and a value, which is used in code and stored in your collections.

You cannot modify the options data array in-place. To add, change, or remove individual selection tag options:

  1. Store the value of the options property in a variable.
  2. Make changes to the array.
  3. Reset the options property with the modified array.

Note: Setting the options property clears the values that do not match the new options.

Did this help?