Options accepted by the postal code validation rule. Specifies which country locales are used for postal code format validation.
const options: PostalCodeOptions = { countryCode: ['US', 'GB', 'CA']} Copy
const options: PostalCodeOptions = { countryCode: ['US', 'GB', 'CA']}
Array of country codes for postal code validation
Options accepted by the postal code validation rule. Specifies which country locales are used for postal code format validation.
Example