Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #5764 Fix passing TranslatableInterface Choices to ChoiceField (A…
…munak) This PR was merged into the 4.x branch. Discussion ---------- Fix passing TranslatableInterface Choices to ChoiceField The code checking whether a choice should be passed "untouched" because it already is Translatable (from #5066) is always false because it checks against the wrong variable. This results in the actual TranslatableMessage being thrown away. Here `$selectedValue` is always an array key, so a string; the intention was probably to check against `$selectedLabel`. Commits ------- 5fae8a6 Fix passing TranslatableInterface Choices to ChoiceConfigurator
- Loading branch information