Replies: 2 comments
-
No reason in particular. I think it's completely reasonable to loosen the type to allow numbers. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, carbon-components-svelte only allows type of
string | undefined
in value (RadioButton).But there are many cases where the value needs to be numbers.
I mean, putting in numbers does work but the types only say
string
is allowed.Beta Was this translation helpful? Give feedback.
All reactions