Skip to content

Issue with Canada and the USA still exists #691

Open
@NataliaLyfar

Description

It's a problem to choose Canada the first time. Canada and the US have the same initial code and confusion occurs. Canada is selected only after choosing again.
<PhoneInput
enableSearch={true}
enableAreaCodes={true}
enableAreaCodeStretch={true}
preserveOrder={["enableAreaCodes", "preferredCountries"]}
preferredCountries={["us"]}
country={"us"}
value={data?.gcPhone || ""}
onChange={(phone) => handleProjectChange("gcPhone", phone)}
inputProps={{
name: "gcPhone",
className: "phoneInput",
}}
/>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions