lexik / LexikFormFilterBundle

This Symfony bundle aim to provide classes to build some form filters and then build a doctrine query from this form filter.
MIT License
389 stars 119 forks source link

Translate choices and use an empty choice as default #356

Closed 1ed closed 1 year ago

1ed commented 2 years ago

By default types have the default translation domain in this bundle, which is good, because I want to translate the labels in user-land, but the boolean type sets a different domain, so my label will be translated in that domain instead. This fixes the issue and only translates the choices in the bundles domain.