Skip to content

co-autocomplete

This content is not available in your language yet.

Ver código
<co-autocomplete label="Ejemplo"></co-autocomplete>

Props

PropAtributoTipoDefaultDescripción
clearableclearablebooleantrue
debouncedebouncenumber300Debounce time in ms for coSearch
disableddisabledbooleanfalse
emptyTextempty-textstring'No results'Message when options are empty after search
helperTexthelper-textstring | undefined
iconLefticon-leftstring | undefined
labellabelstring | undefined
loadingloadingbooleanfalse
minCharsmin-charsnumber1Minimum characters before emitting coSearch
multiplemultiplebooleanfalse
optionsoptionsAutocompleteOption[] | string | string[]'[]'Pre-loaded or server-returned options
placeholderplaceholderstring'Search…'
secondaryLabelsecondary-labelstring | undefined
statusstatus"default" | "error" | "info" | "success" | "warning"'default'
valuevaluestring | string[]''

Eventos

EventoDetailBubblesCancelableDescripción
coChangestring | string[]
coClearvoid
coSearchstringFired when the user types (after debounce). Host should fetch and set options.

Slots

Este componente no expone slots.

CSS Parts

Este componente no expone CSS parts.

CSS Custom Properties

Este componente no expone CSS custom properties.