Input Password Model
data class InputPasswordModel(val title: String, val state: InputShellState, val inputStyle: InputStyle = InputStyle.DataInputStyle(), val supportingText: List<SupportingTextData>? = null, val legendData: LegendData? = null, val inputTextFieldValue: TextFieldValue? = null, val isRequiredField: Boolean = false, val autoCompleteList: List<String>? = null, val autoCompleteItemSelected: (String?) -> Unit? = null, val onNextClicked: () -> Unit? = null, val onValueChanged: (TextFieldValue?) -> Unit? = null, val onFocusChanged: (Boolean) -> Unit? = null, val imeAction: ImeAction = ImeAction.Next) : BasicTextInputModel
UiModel used for Input Password
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.
Constructors
Link copied to clipboard
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)