Multiple selector
This component is used to select multiple items from a set of options. This topic describes the detailed configuration methods for the component.
Application example
Select multiple criteria on a page to display product information that meets the criteria.

Step 1: Add the component
-
Create a web application. For more information, see Create a web application.
-
In the web application editor, click the component icon
on the far left. - Above the component list on the left of the canvas, enter multiple selector, find the component, and then drag it to the canvas in the center.
For more information about adding components, see Add a component.

Step 2: Configure the data source
- In the style panel on the right, click data source and then click Configure Data Source.
- On the Configure Data Source page, select a data source type and complete the configuration.
- Click OK.
Step 3: Configure the style
- On the Style tab on the right, configure the display settings for the component.
Configuration item Description Multiple selector configuration Sets the Default selected item and whether the component is Disabled.The Default selected item does not appear if you have not configured a data source or if the data source returns empty data.
Selecting Disabled prevents users from selecting an option in preview mode.
Multiple selector style Set the arrangement direction of the options, the background color of the component, and the text and button styles. -
Adjust the component's position on the page. For more information about general component style settings, see Configure styles.
Step 4: Configure interactions
- Select the Interaction tab for the component to configure events and interactions. For more information, see Interaction configuration.This component supports the Value Changed and Click events. The component value is a one-dimensional array that consists of the value corresponding to the selected label, such as
["2","4","7"]. -
Click Preview in the upper-right corner of the page to view and debug the component's data and style.