<nve-combobox>
Properties
Enable creation of new options when the input value doesn't match any existing option. Dispatches a create event with { value } detail.
true
false
Reduces the visual container for a minimal borderless appearance while preserving whitespace bounds. Use when embedding within another container such as a toolbar.
flat
Sets the input to match native default content block
true
false
Sets the input to match the width of the active text content of the control value. Only applicable to vertical input box type controls (input, select)
true
false
Enables internal string values to update for internationalization.
Controls the directional arrangement and spacing behavior of the element's content.
vertical Arranges content in a vertical stack with block-level spacing.
vertical-inline Arranges content vertically with compact inline spacing for dense layouts.
horizontal Arranges content in a horizontal row with block-level spacing.
horizontal-inline Arranges content horizontally with compact inline spacing.
Set the visual prominence of the control
muted
Set current visual state for control. This overrides any validation states active.
warning
error
success
disabled
Manage inline tag rendering for many-item select
hidden
wrap
Events
Fires when the user confirms a value that doesn't match any existing option and the behavior-create attribute exists. detail: { value }.
Fires when the user scrolls the dropdown option list. Throttled to one dispatch per animation frame. detail: { scrollTop, scrollHeight, clientHeight }.
Slots
default slot for an input and a datalist/select element
slot for dropdown footer content
Label element
slot for icon before the input
Methods
reset(): unknown
Resets control value to initial attribute value and clears any active validation rules.
selectAll(): unknown
Select all options provided
CSS Properties
CSS Parts
The checkbox element
The menu item element for creating new options
The dropdown popup element
The icon element
The menu element
The menu item elements
The tag element for selected items