Reference · Form-associated address field
ADDRESS_FIELD_VALIDATION_KEYSconstant
Native validator options checked by builder coverage.
Import it
import { ADDRESS_FIELD_VALIDATION_KEYS } from "@johnmorrisdotca/address-plus/element";
Also exported from: @johnmorrisdotca/address-plus/element/define
Definition
const ADDRESS_FIELD_VALIDATION_KEYS: string[] = FIELD_VALIDATION_KEYS
Examples
import { ADDRESS_FIELD_VALIDATION_KEYS } from "@johnmorrisdotca/address-plus/element";
console.log(ADDRESS_FIELD_VALIDATION_KEYS.includes("requirePostalCode"));
// → truetrueWhat it prints (run when this page was built)