isValid

abstract val isValid: Boolean

Whether or not the field is in a valid state. There are some special considerations for postal code fields

  • If the postal code field is not enabled or not required it will always be valid

  • If the postal code is required it is considered valid if the field has ANY text

  • Additional postal code validation is handled server side when creating a payment method and/or submitting a basket for payment