Getting Started
Overview
Installation
Theme
Forms
Basic Inputs
Custom Inputs
Select
Components
Components
78
Micro Charts
Navigation
Libraries
Content Editor
Data View
Form Builder
Headless Editor
Image Designer
Kanban Board
PDF Builder
PDF Signer
PDF Viewer
Video Player
GitHub repositoryGitHub starsGitHub forksNgStarter UI npm versionNgStarter UI npm downloads per month

Tree Select

Choose departments, categories, folders, or other hierarchical values in a form. Tree Select combines an accessible tree popup with search, single or multiple selection, and lazy loading.

PropTypeDefault
nodes
Immutable nodes with unique value, label, children, disabled, and hasChildren.
readonly TreeSelectNode[][]
value / valueChange
Two-way binding. Also supports ngModel and reactive forms. External writes do not invoke the form change callback.
TreeSelectKey | TreeSelectKey[] | nullnull
multiple
Select several values.
booleanfalse
leavesOnly
Prevent selecting branch values.
booleanfalse
cascade
Multiple selection cascades to enabled loaded leaves. False selects nodes independently.
booleantrue
searchable / clearable
Show search or a clear action.
booleantrue / false
loadChildren
Resolve child arrays, promises, or observables when an unloaded node expands. Cached until the input node array or loader changes.
TreeSelectChildrenLoader | nullnull
placeholder / emptyText
Trigger placeholder and empty search text.
stringChoose an item / No matching items
disabled / required
Form field states. Disabled also follows the Angular form control.
booleanfalse
aria-label
Accessible trigger and tree label; falls back to placeholder.
string | nullnull
selectionChange
Emits for user changes, including clear.
TreeSelectValue—
opened / closed
Popup lifecycle events.
void—
loadError
Failed child load; the user can retry.
{ node: TreeSelectNode; error: unknown }—