InputUnitInterval
fun InputUnitInterval( title: String, state: InputShellState, inputStyle: InputStyle = InputStyle.DataInputStyle(), supportingText: List<SupportingTextData>? = null, legendData: LegendData? = null, inputTextFieldValue: TextFieldValue? = null, isRequiredField: Boolean = false, onNextClicked: () -> Unit? = null, onValueChanged: (TextFieldValue?) -> Unit? = null, imeAction: ImeAction = ImeAction.Next, modifier: Modifier = Modifier)
DHIS2 Input Unit Interval. Wraps DHIS · BasicTextInput.
Parameters
title
: controls the text to be shown for the title.
state
: Manages the InputShell state.
supportingText
: is a list of SupportingTextData that. manages all the messages to be shown.
legendData
: manages the legendComponent.
inputTextFieldValue
: manages the value of the text in the input field.
isRequiredField
: controls whether the field is mandatory or not.
onNextClicked
: gives access to the imeAction event.
onValueChanged
: gives access to the onValueChanged event.
imeAction
: controls the imeAction button to be shown.
modifier
: allows a modifier to be passed externally.
inputStyle
: manages the InputShell style.