InputLongText

fun InputLongText(title: String, state: InputShellState, inputStyle: InputStyle = InputStyle.DataInputStyle(), 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)

DHIS2 Input Long Text. Wraps DHIS · BasicTextInput.

Parameters

title

: controls the text to be shown for the title.

state

: Manages the InputShell state.

inputStyle

: manages the InputShell style.

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

: manages whether the field is mandatory or not.

autoCompleteList

: List of strings to be used for autocomplete dropdown.

autoCompleteItemSelected

: gives access to the autocomplete item selection.

onNextClicked

: gives access to the ImeAction event.

onValueChanged

: gives access to the onValueChanged event.

onFocusChanged

: gives access to the onFocusChanged returns true if item is focused.

imeAction

: controls the ImeAction to show in the keyboard.

modifier

: allows a modifier to be passed externally.