Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 893354a

Browse files
authored
Update CRadio props.value
CRadio logs error to the console when value is a Number instead of String. The documentation says Number is valid. change props.value from String to [String, Number]
1 parent 5402298 commit 893354a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/chakra-ui-core/src/CRadio/CRadio.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const CRadio = {
3232
props: {
3333
id: String,
3434
name: String,
35-
value: String,
35+
value: [String, Number],
3636
ariaLabel: String,
3737
ariaLabelledBy: String,
3838
variantColor: {

0 commit comments

Comments
 (0)