middag-react
    Preparing search index...

    Interface PhoneFormField

    International phone number input.

    interface PhoneFormField {
        component: "phone";
        key: string;
        kind: "field";
        props: FieldPropsBase & { defaultCountry?: string; fixedCountry?: boolean };
    }

    Hierarchy

    • FieldNodeBase
      • PhoneFormField
    Index

    Properties

    Properties

    component: "phone"
    key: string
    kind: "field"
    props: FieldPropsBase & { defaultCountry?: string; fixedCountry?: boolean }

    Type Declaration

    • OptionaldefaultCountry?: string

      Default country code (ISO 3166-1 alpha-2, e.g. "BR").

    • OptionalfixedCountry?: boolean

      Hide country selector, lock to defaultCountry.