RadioGroup & RadioButton docs say `value` can be `Any`, but prop types validation expects `string`

Author: ericbiewenerCreated Jul 7, 2017Updated Oct 22, 2025
LabelsType: Enhancementgood first issue

The docs state that the value prop supplied to a <RadioGroup> and <RadioButton> may be of any type, but the prop types validation expects a string for both (here and here).

Supplying any value does appear to work, although it triggers a prop type warning and doesn't technically result in valid DOM markup since the actual input value in the DOM will get coerced to a string, resulting in [object Object] for all the radio buttons that receive an object as the value.

Source: react-toolbox/react-toolbox