In the example below, the SetTranslation entity has a field introduction (type="text") which is displayed in forms using a simple textarea.
How to configure a text field to use the text_editor (only known by EasyAdmin) with a translated field ?
Here is the EasyAdmin 2 config for the Set entiy:
easy_admin:
entities:
Set:
form:
fields:
-
property: translations
type: 'A2lix\TranslationFormBundle\Form\Type\TranslationsType'
The solution is to specify the type with the full path using the
type_optionsandfield_typeproperties: