8000 [Form] Option for ISO 3166-1 countries only, in CountryType field · Issue #18613 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
[Form] Option for ISO 3166-1 countries only, in CountryType field #18613
Closed
@ianmclaughlin

Description

@ianmclaughlin

CountryType offers countries based on Intl::getRegionBundle()->getCountryNames() which may not be ISO 3166-1 compliant. The Country constraint can check for a ISO 3166-1 complaint country.

As an example, for "en" regions, "Ascension Island" is offered as a country, but is disallowed by the constraint. We can, of course, fix this by compiling and providing our own list.

As a better approach, can CountryType have an option to show only countries which match the Country constraint?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0