resetArrayItemsSelectedIndex()

Resets the selected index in an array data group on the selected component to its default. An array data group is a data field with dataType: 'arrayItems' in the manifest, letting a Wix user manage a repeated set of items, such as a list of slides or testimonials.

Syntax

Copy

Parameters

NameTypeDescription
options.arrayItemsDisplayGroupKeystringKey of the array items display group to reset. Only required if the component's manifest declares more than one.

Returns

Promise<void>

Example

Copy

See also

Last updated: 8 September 2026

Did this help?