selectedIndices


selectedIndicesArray<number>

Sets or gets the indicies of the selected options.

Setting the selectedIndices property sets the options at each specified index to be a selected option. To reset the mobile picker to have no option selected, set the selectedIndices property to an empty array, null, or undefined.

Getting the selectedIndices property returns an array of the indices of all selected options. If no value is selected, the selectedIndices property returns an empty array.

Was this helpful?
Yes
No