Properties

Link copied to clipboard

This specifies how the field should be capitalized

Link copied to clipboard
abstract val debugLabel: String

This is a label for debug logs

Link copied to clipboard
abstract val keyboard: KeyboardType

This is the type of keyboard to use for this field

Link copied to clipboard
abstract val label: Int?

This is the label to describe the field

Link copied to clipboard
abstract val loading: StateFlow<Boolean>
Link copied to clipboard
open val placeHolder: String?
Link copied to clipboard
abstract val trailingIcon: StateFlow<TextFieldIcon?>
Link copied to clipboard

Transformation for changing visual output of the input field.

Functions

Link copied to clipboard
abstract fun convertFromRaw(rawValue: String): String

This will convert from a raw value used in the parameter map to a disiplayValue

Link copied to clipboard
abstract fun convertToRaw(displayName: String): String

This will convert the field to a raw value to use in the parameter map

Link copied to clipboard
abstract fun determineState(input: String): TextFieldState

This will determine the state of the field based on the text

Link copied to clipboard
abstract fun filter(userTyped: String): String

This works a little like the input filter, removing pasted characters that are invalid in the case where the keyboard allows more than the allowed characters, or characters are pasted in