RadioButtonData

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.

textInput

the text to be displayed.

Constructors

Link copied to clipboard
constructor(uid: String, selected: Boolean, enabled: Boolean, textInput: String)
constructor(uid: String, selected: Boolean, enabled: Boolean, textInput: AnnotatedString?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val uid: String