Ir al contenido

co-checkbox-group

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

Props

PropAtributoTipoDefaultDescripción
directiondirection"column" | "row"'column'Layout direction
disableddisabledbooleanfalseDisable all options
helperTexthelper-textstring | undefinedHelper text displayed below the options
labellabelstring | undefinedGroup label displayed above the options
optionsoptionsCheckboxOption[] | string[]Checkbox options — accepts JSON string or array. Each item: { label, value, disabled? } or plain string
secondaryLabelsecondary-labelstring | undefinedSecondary label displayed on the right side
sizesize"large" | "small"'small'Size of checkbox boxes
statusstatus"default" | "error" | "info" | "success" | "warning"'default'Validation status
valuevaluestring | string[]'[]'Currently selected values (JSON string or string array)

Eventos

EventoDetailBubblesCancelableDescripción
coChangestring[]Fired when selection changes

Slots

Este componente no expone slots.

CSS Parts

Este componente no expone CSS parts.

CSS Custom Properties

Este componente no expone CSS custom properties.