Did I miss something or are there no Radio Buttons...
# react
c
Did I miss something or are there no Radio Buttons and Radio Groups in kotlin/react?
1
s
This works for me?
Copy code
input {
    type = InputType.radio
}
Or if you meant from mui, then that also seems to exist: https://github.com/karakum-team/kotlin-mui-showcase/blob/main/src/main/kotlin/team/karakum/components/showcases/RadioButtons.kt
c
Thank you, got it to work. I was just confused because there was no RadioGroup component that is put around the buttons, like select and options. Feels less kotlin-y the way it works, especially that it depends on a String to recognize the group.