Input Custom Intent
fun InputCustomIntent(title: String, buttonText: String, values: List<String>, onLaunch: () -> Unit, onClear: () -> Unit = {}, customIntentState: CustomIntentState = LAUNCH, inputShellState: InputShellState = InputShellState.UNFOCUSED, inputStyle: InputStyle = InputStyle.DataInputStyle(), supportingText: List<SupportingTextData>? = null, legendData: LegendData? = null, isRequired: Boolean = false, modifier: Modifier = Modifier)
DHIS2 Input Custom Intent. Wraps DHIS · InputShell.
Parameters
title
: controls the text to be shown for the title.
button Text
: controls the text to be shown for the button.
values
: Is a list of strings to be shown for the values.
on Launch
: callback for user to launch the intent.
on Clear
: callback for user to delete the values.
input Shell 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
: whether the field is required or not.
modifier
: allows a modifier to be passed externally.