Check Box Data
data class CheckBoxData(val uid: String, val checked: Boolean, val enabled: Boolean, val textInput: AnnotatedString?)
Data model used for DHIS2 CheckBox 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.
checked
: whether the item is checked or not.
text Input
: the text to be displayed.