NEURALNG

TREESELECT

API

Component

NeuralTreeSelect<TOption,TValue>

Standalone FormValueControl with selector neural-tree-select.

Models and inputs

NameTypeDefaultDescription
options readonly TOption[][] Immutable hierarchical source.
optionLabel / optionValue / optionKey stringlabel / value / empty Nested mapping paths for display, form value and stable identity.
optionChildren / optionDisabled / optionIcon stringchildren / disabled / iconClass Nested structural and visual mappings.
value NeuralTreeSelectValue<TValue>null Two-way value model; arrays are used for multiple modes.
expandedKeys ReadonlySet<NeuralTreeKey>new Set() Controlled Tree expansion.
filterValue string'' Two-way filter query.
selectionMode 'single' | 'multiple' | 'checkbox''single' Selection and value shape contract.
filter / clearable / closeOnSelect booleantrue Filter, clear and close policies.
loading / disabled / readonly booleanfalse Independent async and interaction states.
required / invalid / pending / touched / dirty booleanfalse Forms and Field composition state.
name / fluid / unstyled string / booleanempty / false Form name, sizing and visual ownership.
virtualScroll booleanfalse Uses Tree fixed-range rendering.
placeholder / filterPlaceholder stringlocalized English defaults Empty trigger and filter prompt.
emptyLabel / loadingLabel stringEnglish defaults Panel state labels.
clearLabel / dropdownLabel stringEnglish defaults Accessible action labels.
ariaLabel / treeSelectId / treeSelectClass stringempty Naming, stable identity and additive root class.
classes NeuralTreeSelectClasses{} Typed additive classes for every slot.
compareWith (first, second) => booleanObject.is Form-value equality.

Events

selectionChangeNeuralTreeSelectChange<TValue,TOption>

Changed user selection with previous value and source.

selected / unselectedNeuralTreeSelectChange<TValue,TOption>

Semantic direction-specific selection event.

clearedNeuralTreeSelectClear<TValue>

Explicit clear with previous value.

filterChangeNeuralTreeSelectFilterEvent

User-authored query.

opened / closedvoid

Popover visibility lifecycle.

touchvoid

Blur or panel-close touch lifecycle.

Methods

togglePanel(event?)

Opens or closes the top-layer hierarchy.

closePanel(restoreFocus = true)

Closes and optionally restores trigger focus.

focus(options?)

Focuses the combobox trigger.

reset()

Clears filter and restores the empty value for the mode.

clear(event?)

Clears mutable user selection and emits cleared.

remove(key,event)

Removes one multiple-value chip.

Typed templates

neuralTreeSelectNode

Typed node, flat item, selected, partial, expanded and level context.

neuralTreeSelectValue

Typed value and resolved labels context.

Typed class slots

roottriggervalueplaceholderchipListchipchipRemoveclearButtondropdownButtonpanelheaderfiltertreeemptyloading

Public types

NeuralTreeSelectValue<TValue>NeuralTreeSelectChange<TValue,TOption>NeuralTreeSelectClear<TValue>NeuralTreeSelectFilterEventNeuralTreeSelectClassesNeuralTreeSelectValueTemplateContext<TValue>

Compatibility alias

TreeSelectComponent is deprecated. New human and generated code must import NeuralTreeSelect.