Input User Model
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.
state
input Style
: manages the InputShell style.
supporting Text
: List of SupportingTextData that manages all the messages to be shown.
legend Data
input Text Field Value
: Input of the component in the format of ddMMyyyy/HHMM/ddMMyyyyHHMM.
is Required Field
: Mark this input as required.
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 on next callback.
on Value Changed
: gives access to the onValueChanged event.
ime Action
: controls the imeAction button to be shown.
on Focus Changed
: gives access to the on Focus changed callback.