Flat single selection
Bind one row key. Selecting an enabled row closes the popup by default; disabled rows cannot be selected.
Bind one row key. Selecting an enabled row closes the popup by default; disabled rows cannot be selected.
Enable multiple and bind an array of keys. Toggle rows with clicks or checkboxes; the popup stays open by default. Remove selected tags or clear the selection.
Use tree-config for hierarchical data. This example uses selectable to allow leaf selection; parent nodes expand and collapse.
multiple works with flat and tree data. Bind an array of row keys; the popup stays open by default. Selected tags can be removed and collapse beyond max-collapse-tags. Tree selection links loaded selectable descendants and derives parent check states independently of the checked-strategy output; disabled branches are excluded. Set check-strictly for independent selection. The default checked-strategy="leaf" outputs selectable leaves; all outputs all checked nodes and parent compresses fully checked branches. The strategy controls both model keys and tags while parent check states remain derived. Unloaded nodes are not automatically selected.
Compare the inherited small, default, and large component sizes.
Use shape="square" to apply square geometry to the selector trigger and the shared Table popup surface.
The expanded tree contains 10,000 leaf nodes. virtual-config keeps the popup bounded and mounts only the visible row window.
A regular three-column Table can use the same virtualized selector shell. This example contains 10,000 flat rows with dynamic measurement.
Customize table cells with column slots and named renderers, and use selected to render the trigger value. Advanced table rendering rules remain part of Table.
Use columns.slots.default or columns.slots.header to assign custom column slot names. Column slots and trigger affixes may be added or removed conditionally after mounting. The selector reserves prefix, suffix, clear-icon, selected, empty, popup-header and popup-footer; use other names for table content. The selected-value slot receives { row, label }, while data and header slots retain their Table render parameters.
Set loading while options or values are being loaded. The trailing indicator matches Input and Select; current values stay visible and interaction resumes when loading ends.
BooleanBoolean | BooleanBooleanString(value: ) => void(value: boolean) => void{ open: boolean; selectedRow: | null }(row: , expanded?: boolean) => Promise<void> | undefined(rowOrIndex: | , align?: 'auto' | 'start' | 'center' | 'end') => void