Skip to content

co-number-field

This content is not available in your language yet.

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

Props

PropAtributoTipoDefaultDescripción
clearableclearablebooleanfalseShow clear button when the field has a value
disableddisabledbooleanfalse
helperTexthelper-textstring | undefined
labellabelstring | undefined
layoutlayout"horizontal" | "vertical"'vertical'Label layout: vertical (label above) or horizontal (label beside)
maxmaxnumber | undefined
minminnumber | undefined
placeholderplaceholderstring'0'
requiredrequiredbooleanfalseWhether the field is required (renders a required marker on the label).
secondaryLabelsecondary-labelstring | undefined
sizesize"lg" | "md" | "s" | "sm"'md'
statusstatus"default" | "error" | "info" | "success" | "warning"'default'
stepstepnumber1
valuevaluenull | number0

Eventos

EventoDetailBubblesCancelableDescripción
coChangenull | number
coClearvoidEmitted when the clear button is clicked

Slots

Este componente no expone slots.

CSS Parts

Este componente no expone CSS parts.

CSS Custom Properties

Este componente no expone CSS custom properties.