PanElementState

An interface that represents the state of a ForagePANEditText Element.

Properties

Link copied to clipboard

The DerivedCardInfo for the card number submitted to the Element.

Inherited properties

Link copied to clipboard
abstract val isBlurred: Boolean

Whether the Element is blurred.

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 isFocused: Boolean

Whether the Element is in focus.

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.