The <luna-combobox> component provides an autocomplete select with filtering, custom values, multiple selection, and grouped options.
Paths
/lunadom/components/combobox/combobox.js /lunadom/components/option/option.js /lunadom/components/option-group/option-group.js Basic Autocomplete
Allow Custom Values
Multiple Selection
Grouped Options
Customization
default - <luna-option> or <luna-option-group> elementsprefix - Content to display before the input text (e.g., an icon)suffix - Content to display after the input text and before the chevronlabel - Label text for the comboboxplaceholder - Placeholder textautocomplete - Enable autocomplete filteringallow-custom-value - Allow entering custom valuesmultiple - Allow multiple selectionsclearable - Show clear buttonhelp-text - Help text below the comboboxmax-options-visible - Max options to show in dropdowndisabled - Whether the combobox is disabledpill - Whether the combobox has a pill shapesize="md" - Size of the combobox (sm, md, lg)placement="bottom" - Where to position the dropdown (top, bottom)value - The current value or comma-separated values (for multiple) of the comboboxfilter-mode="contains" - How to filter options: 'contains' (default), 'startsWith', 'custom'--luna-combobox-bg - Combobox background color--luna-combobox-color - Combobox text color--luna-combobox-border - Combobox border color--luna-combobox-radius - Combobox border radius--luna-combobox-accent - Combobox accent color--luna-combobox-shadow - Combobox box shadowluna-change - Emitted when the selected value(s) changeluna-clear - Emitted when the input is cleared via the clear buttonluna-input - Emitted when the input value changesluna-filter - Emitted when options are filtered, passes filtered options in detailcustomFilter - Custom filter function