8000 [Form] BC break in choice based form type extensions · Issue #20771 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
[Form] BC break in choice based form type extensions #20771
Closed
@Padam87

Description

@Padam87

3.2 changed the way that choice based types load choices. They now use choice_loader instead of choices. This caused all type extensions which used to override choices to break, because the choice loader takes priority.

As a simple fix we can add 'choice_loader' => null, as default to our extensions.

Effected types are:

  • CountryType
  • CurrencyType
  • LanguageType
  • LocaleType
  • TimezoneType

Since not many of us write extensions for these types, and providing BC for this might be hard, I'm leaving this note for others to save some debug time :)

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