What happened?
Ran into this on a project site earlier today, but just confirmed the behaviour on a brand new, clean install with no plugins other than Commerce installed.
Description
For UK Addresses, the "City" dropdown field in the Address slideout is populated with a weird mix of counties and cities and there is no "County" field
For example, the dropdown contains both "Cardiff" which is a city, and "Worcestershire" which is a county.
Furthermore, many towns and cities are missing from the list, for example "Evesham" (a town in Worcestershire) so it's not possible to enter an accurate address.
As it is, it's pretty unusable.
It feels like a mix of 3 things.
- The "City" field should be labelled as "County"
- The contents of the dropdown should only be UK counties
- There should be a separate plain text field for "City"
Steps to reproduce
- Create a new address
- Select "United Kingdom" for the country
- Examine the "City" field.
Expected behavior
- The "City" field should be freetext - I don't think it's practical to have a pre-populated list of all the possible towns and cities in the UK.
- There should be a "County" field which is a dropdown of UK counties.
Actual behavior
- The "City" dropdown contains a mix of towns, cities, and counties with many omissions.
- There is no separate "County" field.
Craft CMS version
6.3.4
Craft Commerce version
5.0.16.2
PHP version
8.2.18
Operating system and version
Linux 6.6.32-linuxkit
Database type and version
MySQL 8.0.33
Image driver and version
No response
Installed plugins and versions
What happened?
Ran into this on a project site earlier today, but just confirmed the behaviour on a brand new, clean install with no plugins other than Commerce installed.
Description
For UK Addresses, the "City" dropdown field in the Address slideout is populated with a weird mix of counties and cities and there is no "County" field
For example, the dropdown contains both "Cardiff" which is a city, and "Worcestershire" which is a county.
Furthermore, many towns and cities are missing from the list, for example "Evesham" (a town in Worcestershire) so it's not possible to enter an accurate address.
As it is, it's pretty unusable.
It feels like a mix of 3 things.
Steps to reproduce
Expected behavior
Actual behavior
Craft CMS version
6.3.4
Craft Commerce version
5.0.16.2
PHP version
8.2.18
Operating system and version
Linux 6.6.32-linuxkit
Database type and version
MySQL 8.0.33
Image driver and version
No response
Installed plugins and versions