Skip to content

co-radio-group

This content is not available in your language yet.

Ver código
<co-radio-group label="Ejemplo"></co-radio-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
namenamestring | undefinedName attribute for the group
optionsoptionsRadioOption[] | string[]Radio options — accepts JSON string or array. Each item: { label: string, value: string, disabled?: boolean } Or plain strings: ["Option A", "Option B"]
secondaryLabelsecondary-labelstring | undefinedSecondary label displayed on the right side
sizesize"large" | "small"'small'Size of radio circles
statusstatus"default" | "error" | "info" | "success" | "warning"'default'Validation status
valuevaluestring | undefinedCurrently selected value

Eventos

EventoDetailBubblesCancelableDescripción
coChangestringFired 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.