Home Reference Source
public class | source

RadioButton

Extends:

react~Component → RadioButton

Single selection component that allows selection of one of multiple options that will be displayed as rows of radio buttons.

Static Member Summary

Static Public Members
public static

propTypes: {"value": *, "onValueChange": *, "disabled": *, "hidden": *, "option": *, "groupName": *, "tabIndex": *}

PropTypes

Static Public Members

public static propTypes: {"value": *, "onValueChange": *, "disabled": *, "hidden": *, "option": *, "groupName": *, "tabIndex": *} source

PropTypes

Properties:

NameTypeAttributeDescription
option object
  • optional

Specifies an object in the form {value: 'value1': label: 'label1'}.

groupName string
  • optional

(Required) All radio buttons that share the same groupName behave as a group. (Grouped radio buttons must also share the same data item.)

tabIndex number
  • optional

Sets tabindex attribute on the primary element tag to modify the tab order.