Skip to content

Commit

Permalink
Merge 4.x into 5.x
Browse files Browse the repository at this point in the history
  • Loading branch information
SonataCI authored Nov 19, 2024
2 parents 029cd07 + c4705be commit 7c26f38
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions docs/reference/field_types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -204,12 +204,10 @@ Option Description
====================================== ========================================================================
**use_value** Determines if the field must show the value or the case' name.
``false`` by default.

*Ignored if the enum implements Symfony's* ``TranslatableInterface`` *.*
**enum_translation_domain** | Translation domain. If set, the enum value or case' name will be send
to the translator.
| ``{{ value|trans({}, translation_domain) }}``

**enum_translation_domain** Translation domain. If set, the enum value or case' name will be send
to the translator.
``{{ value|trans({}, translation_domain) }}``
*Ignored if the enum implements Symfony's* ``TranslatableInterface`` *.*
====================================== ========================================================================

Expand Down

0 comments on commit 7c26f38

Please sign in to comment.