Basic selection
Selection commits on a leaf by default. Use change-on-select to commit at any level. The legacy clearable and check-strictly properties remain compatible.
Selection commits on a leaf by default. Use change-on-select to commit at any level. The legacy clearable and check-strictly properties remain compatible.
Compare the inherited small, default, and large component sizes.
Use label for a persistent label above the control. Add label-float to display that label inside an empty control and float it when the control is focused, open, or selected. placeholder remains a separate ordinary placeholder.
Use shape="square" to align the trigger, tags, options, actions, and popup surface to square geometry.
show-search searches complete paths and highlights matches. Its object form accepts filter, sort, and limit; field-names maps non-standard option data.
multiple enables associated parent-child selection. SHOW_PARENT compresses fully selected branches; SHOW_CHILD keeps leaf paths. Tags collapse into +N according to available width by default.
Use expand-trigger="hover" to expand on hover. For lazy nodes, set isLeaf to false and assign children in load-data; lazy loading and local path search are mutually exclusive.
A single-level menu is at least as wide as its trigger. When options can expand, each column follows its content and keeps its width as new levels appear. Long options wrap within a width limit, and columns can scroll horizontally when they exceed the viewport. Set popup-config.full or popup-config.matchTriggerWidth to force trigger-width matching; explicit size limits, mount targets, offsets, and styles are also available through popup-config. Use the header, footer, and option slots to customize content.
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.
String | [][]ObjectBooleanSHOW_PARENT | SHOW_CHILDNumber | responsiveFunctionBoolean | ObjectStringBooleanBooleanclick | hoverFunctionBooleanBooleanBooleanBooleanBooleanStringBooleanStringStringFunctionStringBooleanBooleanPlacementBooleanObjectString{ option: ; path: []; selected: boolean; active: boolean }{ option: ; path: []; label: string }{ omittedValues: [] }{ labels: string[]; selectedOptions: [] }