Controlling the Open State
The MultiSelect enables you to control the open and close state of its options list.
To set the state of the list:
You can also retrieve the current open state of the options list by using the
You can enable the user to manually toggle between the open and close state of the options list by setting the
toggle method. If set to
true, the method defines that the options list is open. If set to
false, the method defines that the options list is closed.
The following example demonstrates how to configure an initially opened MultiSelect.
You can configure the MultiSelect to remain open until the user finishes selecting items from its options list. To prevent the options list from closing while it is still on focus, set the
autoClose property to
false. By default,
autoClose is set to
autoCloseis set to
false, the entered filter text will not be cleared until the component is blurred.