Skip to content

[Form] add "locales" option to LocaleType #11847

Closed
@greg0ire

Description

@greg0ire

It would be nice to have an option named for instance allowed_locales, that when set, would cause the widget to display only locales that appear in it, and would throw an exception if one of them can't be found in Intl::getLocaleBundle()->getLocaleNames() keys. If this is something that you think would be useful, I can write the code and make a PR.

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