API reference
@salmonui/dropdowns/combobox
24 exported symbols: 1 component, 12 interfaces, 10 types and 1 constant. Each name links its page with the signature, docs and members.
import { … } from '@salmonui/dropdowns/combobox';Components
ComboboxCombobox: the APG editable combobox. label, description and errorMessage (shown while invalid) render around the input like on TextField and are wired through…
Interfaces
ComboboxChipRenderPropsComboboxColumnComboboxFieldPropsField parts of Select and Combobox (the TextField names): a visible label, a description and an error message around the control, wired with aria-labelledby /…ComboboxInputChangeEventComboboxItemRenderPropsComboboxLocaleTextStatic texts; every value has an exported default (SELECT_DEFAULT_LOCALE_TEXT).ComboboxMultiplePropsComboboxOpenChangeEventComboboxPartPropsPure per-item props merged onto the rendered option or chip (rendered items only).ComboboxSinglePropsComboboxSortComboboxValueChangeEventSecond argument of onValueChange: frozen, read-only. items is materialized on first read.
Types
ComboboxEventSourceHow a change was made.ComboboxInputChangeReasonComboboxOpenChangeReasonComboboxPartComboboxPropsComboboxQueryBase query merged into every remote read (filters and sort of the @salmonui/data query model).ComboboxRemoteSourceA remote data: any @salmonui/data source (the structural read of DataSource).ComboboxSearchOperatorA named operator or a predicate over the item and the raw search text.ComboboxValueA selectable value: what getItemValue returns and what value holds.ComboboxValueChangeReason