disabledItemsByIndices


disabledItemsByIndicesArray<number>

Sets or gets the disabled items by their index.

Setting the disabledItemsByIndices property allows you to disable some of the Radio Button Group items separately from the group.

To re-enable all items, set the group to an empty array.

To re-enable only specific items, set the value to an array of indices for items you want to keep disabled, excluding those you want to enable. For example, if [0, 1, 2] are currently disabled and you want to re-enable item 2, set the value to [0, 1].

Getting the disabledItemsByIndices property returns an array of indices for the currently disabled items.

Did this help?