Reference
Tree Select
A tree behind a field: the control reads like an input, the vessel below walks the hierarchy, and one leaf click closes the deal. Single selection — the chosen label rides on the control, its value rides in `modelValue`. `filterable` puts a filter line at the top of the vessel; matches keep their ancestors and the branches fan open.
Body · Chevron · Content · Control · Empty · Root
#TreeSelect
A tree behind a field: the control reads like an input, the vessel
below walks the hierarchy, and one leaf click closes the deal. Single
selection — the chosen label rides on the control, its value rides in
modelValue. filterable puts a filter line at the top of the
vessel; matches keep their ancestors and the branches fan open.
| Prop | Type | Default | Description |
|---|---|---|---|
modelValue | String | undefined | — |
data | Array as PropType<TreeSelectNode[]> | — | |
placeholder | String | "Select…" | — |
filterable | Boolean | false | — |
disabled | Boolean | false | — |
invalid | Boolean | false | — |
size | String as PropType<"sm" | "md" | "lg"> | "md" | One rung of the ladder: the trigger height and the vessel's row register follow it together. |