Closed tyteen4a03 closed 8 months ago
For some reason this causes an error in the admin UI:
...TelephoneField( { name: "contactPhoneNumber", label: "Default Contact Person Phone Number", admin: { placeholder: "+44 123 456 7890", }, }, { defaultCountry: "gb", // this is the line }, ),
Country not found: gb PhoneNumberInput_@http://localhost:3000/admin/main.js:286211:20
I found the issue: defaultCountry is case-sensitive 🤦
defaultCountry
Closing as this is not a bug or an issue with the plugin
For some reason this causes an error in the admin UI: