InputPasswordModel

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.

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.

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)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val autoCompleteItemSelected: (String?) -> Unit? = null
Link copied to clipboard
open override val autoCompleteList: List<String>? = null
Link copied to clipboard
open override val imeAction: ImeAction
Link copied to clipboard
open override val inputStyle: InputStyle
Link copied to clipboard
open override val inputTextFieldValue: TextFieldValue? = null
Link copied to clipboard
open override val isRequiredField: Boolean = false
Link copied to clipboard
open override val legendData: LegendData? = null
Link copied to clipboard
open override val onFocusChanged: (Boolean) -> Unit? = null
Link copied to clipboard
open override val onNextClicked: () -> Unit? = null
Link copied to clipboard
open override val onValueChanged: (TextFieldValue?) -> Unit? = null
Link copied to clipboard
open override val state: InputShellState
Link copied to clipboard
open override val supportingText: List<SupportingTextData>? = null
Link copied to clipboard
open override val title: String