API reference
@salmonui/dropdowns/select
21 exported symbols: 1 component, 10 interfaces, 9 types and 1 constant. Each name links its page with the signature, docs and members.
import { … } from '@salmonui/dropdowns/select';Components
SelectSelect: the APG select-only combobox. label, description and errorMessage (shown while invalid) render around the trigger like on TextField and are wired throu…
Interfaces
SelectChipRenderPropsSelectFieldPropsField parts of Select and Combobox (the TextField names): a visible label, a description and an error message around the control, wired with aria-labelledby /…SelectItemRenderPropsSelectLocaleTextStatic texts; every value has an exported default (SELECT_DEFAULT_LOCALE_TEXT).SelectMultiplePropsSelectOpenChangeEventSelectPartPropsPure per-item props merged onto the rendered option or chip (rendered items only).SelectSearchChangeEventSelectSinglePropsSelectValueChangeEventSecond argument of onValueChange: frozen, read-only. items is materialized on first read.
Types
SelectEventSourceHow a change was made.SelectOpenChangeReasonSelectPartSelectPropsSelectQueryBase query merged into every remote read (filters and sort of the @salmonui/data query model).SelectRemoteSourceA remote data: any @salmonui/data source (the structural read of DataSource).SelectSearchOperatorA named operator or a predicate over the item and the raw search text.SelectValueA selectable value: what getItemValue returns and what value holds.SelectValueChangeReason