@cfxlabsinc/b2b-services
    Preparing search index...
    AddressFormFieldsProps: AddressFieldsOptions & {
        control: Control<T>;
        name?: AddressPath<T>;
        regionKey?: "regionCode" | "region";
        rules?: Partial<Record<AddressKey, RegisterOptions<T, Path<T>>>>;
    }

    Type Parameters

    • T extends FieldValues

    Type Declaration

    • control: Control<T>
    • Optionalname?: AddressPath<T>

      Path of the object holding the address. Omit when its keys sit at the form root.

    • OptionalregionKey?: "regionCode" | "region"

      The form's key for the region. Default regionCode.

    • Optionalrules?: Partial<Record<AddressKey, RegisterOptions<T, Path<T>>>>

      Per-field rules, as FormField takes them. Ignored under a resolver, as always.