Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Form] ChoiceType choices must support TranslatableInterface #46946

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

alamirault
Copy link
Contributor

@alamirault alamirault commented Jul 14, 2022

Q A
Branch? 6.2
Bug fix? no
New feature? yes
Deprecations? no
Tickets Fix #46902
License MIT
Doc PR

Before this PR only TranslatableMessage was supported in ChoiceView/ChoiceType choices labels.

Now TranslatableInterface contract is supported.

@carsonbot
Copy link

Hey!

I think @alexandre-daubois has recently worked with this code. Maybe they can help review this?

Cheers!

Carsonbot

@xabbuh
Copy link
Member

xabbuh commented Jul 19, 2022

👍 for me as a new feature in 6.2

@alamirault Can you please also add a changelog entry?

@alamirault alamirault force-pushed the 46902-support-translatable-interface-choice-type branch from 3ab4d9a to cffb4df Compare July 19, 2022 19:44
@alamirault
Copy link
Contributor Author

@xabbuh Target is now 6.2

(Failed tests are not related)

@fabpot
Copy link
Member

fabpot commented Jul 20, 2022

Thank you @alamirault.

@fabpot fabpot merged commit abcbbf2 into symfony:6.2 Jul 20, 2022
@alamirault alamirault deleted the 46902-support-translatable-interface-choice-type branch August 7, 2022 17:21
@fabpot fabpot mentioned this pull request Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Form/Translation] Could not use TranslatableInterface as choice label
4 participants