InputUserModel

constructor(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)

Parameters

title

: Label of the component.

inputStyle

: manages the InputShell style.

supportingText

: List of SupportingTextData that manages all the messages to be shown.

legendData
inputTextFieldValue

: Input of the component in the format of ddMMyyyy/HHMM/ddMMyyyyHHMM.

isRequiredField

: Mark this input as required.

autoCompleteList

: List of strings to be used for autocomplete dropdown.

autoCompleteItemSelected

: gives access to the autocomplete item selection.

onNextClicked

: gives access to the on next callback.

onValueChanged

: gives access to the onValueChanged event.

imeAction

: controls the imeAction button to be shown.

onFocusChanged

: gives access to the on Focus changed callback.