# Multi Value Combobox Filter

The multi value combobox filter is a control available in the filter and editable panels. This control can filter the associated grid for one column with multiple values.

If the control is used within a filter panel the grid it refers is the same as specified for the panel.

In an editable panel you can apply the filter manually, through a javascript action, where you can get and use the data selected in the control.

#### Configuration

You can configure the control in the Input Controls folder, where you have to choose the type "**Dynamic Combobox**" and associate a selector; the selector must be a **dynamic selector** having the **Multi Value** checkbox selected (see image below).

![](https://4214754289-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M2cc5AJ8EgXTkoN9U07%2F-MdXbRgz9rE3d0fVISiq%2F-MdXcbvBLUFWW7y83HQT%2Fimage.png?alt=media\&token=bf4cdff5-0a2e-45d9-97e2-28aa16122c0f)

When the user types into the multi-value combobox, the typed value is validated and only matching values are shown.

![](https://4214754289-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M2cc5AJ8EgXTkoN9U07%2F-Mda3CMsBbJvLjkP_wqx%2F-Mda3g9qn68wygYnizXI%2Fimage.png?alt=media\&token=7884e1d8-9c16-4557-9682-fb660a515a4c)

You can select an item and the control shows the relative chip. After that, you can type again another text and validation is performed again, in order to add additional items.

You can remove a chip by clicking on the X within it or remove all chips by clicking on the X on the right of the combobox.

![](https://4214754289-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M2cc5AJ8EgXTkoN9U07%2F-Mda3CMsBbJvLjkP_wqx%2F-Mda4UFWkFh5IVtELCE7%2Fimage.png?alt=media\&token=a9eeabef-1d1d-46db-b4b3-94befddbba54)

When you click on the search button, an IN type filter condition is applied to the grid with the selected values.

There are optional settings available for this control, accessible using the "Additional config." property for it:

```
delta: 150, // used to define the amount of free space to the right of the list of chips, availablee to type characgers
maxValues: 5 // used to limit the amount of chips that can be included in this control
```

**Important note:** it is a good practice to limit the amount of chips to include in this control (through the "maxValues" additional property), in order to limit how many codes to pass forward to the IN operator on the SQL query executed on the server side: the more are the values in the IN clause and more complex will be the query for the database. It is not a good idea to have a large amount of values in the IN clause, otherwise the database will be negatively affected by the query, especially in a multi-user application.
