EditTextState

An interface that represents the EditText state of the ForageElement as the customer interacts with it.

Inheritors

Properties

Link copied to clipboard
abstract val isBlurred: Boolean

Whether the Element is blurred.

Link copied to clipboard
abstract val isFocused: Boolean

Whether the Element is in focus.

Inherited properties

Link copied to clipboard
abstract val isComplete: Boolean

Whether the text field of the Element is ready to submit. This is true when all input value validation constraints are satisfied.

Link copied to clipboard
abstract val isEmpty: Boolean

Whether the input value of the Element is empty.

Link copied to clipboard
abstract val isValid: Boolean

Whether the input text fails any validation checks, with the exception of the target length constraint.

Link copied to clipboard

An ElementValidationError, if isValid is false.