PinPadState

An interface that represents the state of a ForagePINEditText Element.

See also

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val length: Int

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.