# Restrict the Number of Selected Items in the MultiSelect

## Environment

<table>
	<tbody>
		<tr>
			<td>Product Version</td>
			<td>4.13.0</td>
		</tr>
		<tr>
			<td>Product</td>
			<td>Progress® KendoReact MultiSelect</td>
		</tr>
	</tbody>
</table>

## Description

How to restrict the number of selected items in a KendoReact MultiSelect?

## Solution

This can be achieved by using the slice method and passing the number of items we wish to limit as an argument:

[Demo Source](https://demos.telerik.com/kendo-react-ui/knowledge-base/multiselect/multiselect-set-maximum-selection/source.txt)
