Formwright
    Preparing search index...
    interface PhoneSignature {
        Args: ControlWiring<string | null> & object & {
            country?: CountryCode;
            metadata?: MetadataJson;
            national?: boolean;
            strict?: boolean;
        };
        Element: HTMLInputElement;
    }
    Index
    Args: ControlWiring<string | null> & object & {
        country?: CountryCode;
        metadata?: MetadataJson;
        national?: boolean;
        strict?: boolean;
    }

    Type Declaration

    • Optionalcountry?: CountryCode

      The country whose numbers are typed (ISO 3166 code). Default US.

    • Optionalmetadata?: MetadataJson

      libphonenumber-js metadata. Default its min metadata.

    • Optionalnational?: boolean

      Strict mode: show the national format, without the calling code, e.g. (212) 555-0123.

    • Optionalstrict?: boolean

      Only numbers of @country, with its calling code fixed in front (default). With false, any country's number can be typed, starting with +.

    Element: HTMLInputElement