value


valueArray<string>

Sets or gets the values of the selected options.

Setting the value property sets the options with those values to be the selected options. The site visitor must set the value property to values that exist in the options list.

To reset the selection tags to have no options selected, set the value property to an empty array, null or undefined.

Getting the value property returns the values of the currently selected options. If no value is selected, the value property returns an empty array.

Did this help?