Hi everyone,
I'm trying to make a multitadio button but I'm going 2 selected at a time. Any suggestions?
Box {
FormControl {
component = ReactHTML.fieldset
FormLabel {
+"Frequency of the evaluations"
}
RadioGroup {
defaultValue = false
onChange = { _, value ->
setGovernanceState(
governanceState.copy(
section218A3 = value._toBoolean_()
)
)
}
value = governanceState.section218A3._toString_()
FormControlLabel {
value = true
control = Radio._create_()
label = _ReactNode_("Quarterly")
}
FormControlLabel {
value = false
control = Radio._create_()
label = _ReactNode_("Biannualy")
}
FormControlLabel {
value = false
control = Radio._create_()
label = _ReactNode_("Annualy")
}
}
}
}