kor TürkçeGitHub

MultiSelect

Finds options by typing and keeps multiple selections.

kor/ui/MultiSelectSource

When to use

  • Choose several values from a limited list such as warehouse filters.

Examples

Choose delivery channels

Loading the example

<k:MultiSelect label="Delivery channels" change=".onChange">
	<core:Item key="pickup" text="Pickup"/>
	<core:Item key="carrier" text="Carrier"/>
</k:MultiSelect>

Choose warehouses

Selected entries remain visible while you search for more.

Loading the example

<k:MultiSelect label="Warehouses" placeholder="Type a warehouse name" items="{path: '/options', templateShareable: false}" change=".onChange">
	<core:Item key="{key}" text="{text}"/>
</k:MultiSelect>

API

Properties

NameTypeDefaultDescription
selectedKeysstring[][]Keys of selected options
labelstringField label
placeholderstringPlaceholder
helpstringSupporting text
errorstringValidation message
requiredbooleanfalseWhether a selection is required
enabledbooleantrueWhether the field can be used

Aggregations

NameTypeDescription
itemssap.ui.core.Item[]Available options

Events

NameTypeDescription
changekeys: string[]Selection changed

Related

SelectFieldLookupField