Skip to content

co-select

This content is not available in your language yet.

Ver código
<co-select label="País" placeholder="Selecciona…"></co-select>

Props

PropAtributoTipoDefaultDescripción
clearableclearablebooleanfalse
disableddisabledbooleanfalse
emptyTextempty-textstring'No results'
helperTexthelper-textstring | undefined
iconLefticon-leftstring | undefined
labellabelstring | undefined
layoutlayout"horizontal" | "vertical"'vertical'Label layout: vertical (label above) or horizontal (label beside)
multiplemultiplebooleanfalse
optionsoptionsSelectOption[] | string | string[]'[]'
placeholderplaceholderstring'Select…'
requiredrequiredbooleanfalseWhether the field is required (renders a required marker on the label).
searchPlaceholdersearch-placeholderstring'Search…'
searchablesearchablebooleanfalseShow a search box inside the dropdown to filter options client-side.
secondaryLabelsecondary-labelstring | undefined
sizesize"lg" | "md" | "s" | "sm"'md'
statusstatus"default" | "error" | "info" | "success" | "warning"'default'
valuevaluestring | string[]''

Eventos

EventoDetailBubblesCancelableDescripción
coChangestring | string[]
coClearvoid

Slots

Este componente no expone slots.

CSS Parts

Este componente no expone CSS parts.

CSS Custom Properties

Este componente no expone CSS custom properties.