Input Email
fun InputEmail(title: String, state: InputShellState, supportingText: List<SupportingTextData>? = null, legendData: LegendData? = null, inputTextFieldValue: TextFieldValue? = null, isRequiredField: Boolean = false, autoCompleteList: List<String>? = null, autoCompleteItemSelected: (String?) -> Unit? = null, onNextClicked: () -> Unit? = null, onValueChanged: (TextFieldValue?) -> Unit? = null, onFocusChanged: (Boolean) -> Unit? = null, imeAction: ImeAction = ImeAction.Next, modifier: Modifier = Modifier, onEmailActionCLicked: () -> Unit, inputStyle: InputStyle = InputStyle.DataInputStyle())
DHIS2 Input email. Wraps DHIS · BasicTextInput.
Parameters
title
: controls the text to be shown for the title.
state
: Manages the InputShell state.
supporting Text
: is a list of SupportingTextData that manages all the messages to be shown.
legend Data
: manages the legendComponent.
input Text Field Value
: manages the value of the text in the input field.
is Required Field
: controls whether the field is mandatory or not.
auto Complete List
: List of strings to be used for autocomplete dropdown.
auto Complete Item Selected
: gives access to the autocomplete item selection.
on Next Clicked
: gives access to the imeAction event.
on Value Changed
: gives access to the onValueChanged event.
on Focus Changed
: gives access to the onFocusChanged returns true if item is focused.
ime Action
: controls the imeAction button to be shown.
modifier
: allows a modifier to be passed externally.
on Email Action CLicked
: callback to when email button is clicked.
input Style
: manages the InputShell style.