Radio Button Data
data class RadioButtonData(val uid: String, val selected: Boolean, val enabled: Boolean, val textInput: AnnotatedString?)
Data model used for DHIS2 RadioButton component.
Parameters
uid
for item.
enabled
Controls the enabled state of the component. When false
, this button will not be clickable and will appear disabled to accessibility services.
selected
whether the item is checked or not.
text Input
the text to be displayed.