SimpleTextFieldController
class SimpleTextFieldController( textFieldConfig: TextFieldConfig, val showOptionalLabel: Boolean = false, initialValue: String? = null) : TextFieldController, SectionFieldErrorController
Content copied to clipboard
This class will provide the onValueChanged and onFocusChanged functionality to the field's composable. These functions will update the observables as needed. It is responsible for exposing immutable observers for its data
Constructors
Link copied to clipboard
fun SimpleTextFieldController( textFieldConfig: TextFieldConfig, showOptionalLabel: Boolean = false, initialValue: String? = null)
Content copied to clipboard
Types
Functions
Link copied to clipboard
Link copied to clipboard
This is called when the value changed to is a raw backing value, not a display value.
Link copied to clipboard
open override fun onValueChange(displayFormatted: String): TextFieldState?
Content copied to clipboard
This is called when the value changed to is a display value.