getTextFieldState

fun getTextFieldState(key: Any, easyFormsValidationType: EasyFormsValidationType, defaultValue: String = ""): EasyFormsTextFieldState

Create or Get a state that handle TextField.

Return

EasyFormsTextFieldState that provide TextField state handling.

Parameters

key

a unique identifier for this state.

easyFormsValidationType

the validation type to use for this state.

defaultValue

the default value to be inserted into the TextField.

Sources

androidJvm source
Link copied to clipboard