Skip to contents

Create a RadioButtonGroup component

Usage

calcite_radio_button_group(...)

Arguments

...

named attributes passed to htmltools::tag()

Value

an object of class calcite_component which is a subclass of shiny.tag

Details

Properties

The following properties are provided by this component:

NameAttributeDescriptionValuesReflects to Attribute
disableddisabledWhen true, interaction is prevented and the component is displayed with lower opacity.booleanTRUE
layoutlayoutDefines the layout of the component."grid" | "horizontal" | "vertical"TRUE
namenameSpecifies the name of the component on form submission. Must be unique to other component instances.stringTRUE
requiredrequiredWhen true and the component resides in a form, the component must have a value in order for the form to submit.booleanTRUE
scalescaleSpecifies the size of the component."l" | "m" | "s"TRUE
selectedItemNASpecifies the component's selected item.HTMLCalciteRadioButtonElementFALSE
statusstatusSpecifies the status of the validation message."idle" | "invalid" | "valid"TRUE
validationIconvalidation-iconSpecifies the validation icon to display under the component.boolean | stringTRUE
validationMessagevalidation-messageSpecifies the validation message to display under the component.stringFALSE

Events

The following events are observed by shiny:

EventDescription
calciteRadioButtonGroupChangeFires when the component has changed.

Slots

The following slots are provided by this component:

SlotDescription
Default (unnamed)A slot for adding calcite-radio-buttons.

Examples

calcite_radio_button_group()
#> <calcite-radio-button-group></calcite-radio-button-group>