Input Yes Only Switch
@Composable
DHIS2 Input Yes Only Switch. Wraps DHIS · InputShell.
Parameters
title
: the label to be displayed.
modifier
: allows a modifier to be passed externally.
state
: Manages the InputShell state.
input Style
: manages the InputShell style.
supporting Text
: is a list of SupportingTextData that manages all the messages to be shown.
legend Data
: manages the legendComponent.
is Required
: controls whether the field is mandatory or not.
is Checked
: whether the switch is selected or not.
on Click
: will be called when the user taps the radio button.