CheckBoxData

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.

textInput

: the text to be displayed.

Constructors

Link copied to clipboard
constructor(uid: String, checked: Boolean, enabled: Boolean, textInput: String)
constructor(uid: String, checked: 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