I can't manage to have A2Lix Translation Form working in an EasyAdmin context whenever my translations contents a Collection of Collection.
The translations form is displaying but the style is broken and the "allow_add" and "allow_delete" option are not working. I am using the provided "@A2lixTranslationForm/bootstrap_5_layout.html.twig" as FormTheme.
Attached a screenshot.
On top you will see a test using a native CollectionField from EasyAdmin and using the same custom form type as bellow. It's working fine style is ok and allow_add and delete are working. The code:
Find out that you just need to add ->addCssClass('form-group field-collection')to your TranslationField::new( function and you need to add the JS code to trigger the add event form.
Hello,
I can't manage to have A2Lix Translation Form working in an EasyAdmin context whenever my translations contents a Collection of Collection.
The translations form is displaying but the style is broken and the "allow_add" and "allow_delete" option are not working. I am using the provided "@A2lixTranslationForm/bootstrap_5_layout.html.twig" as FormTheme.
Attached a screenshot.
On top you will see a test using a native CollectionField from EasyAdmin and using the same custom form type as bellow. It's working fine style is ok and allow_add and delete are working. The code:
Bellow the integrated custom form type into the A2lix form, style is broken and allow_add and allow_delete are not working. The code:
Any help would be really appreciated, I am stuck here :).
EDIT: My PackageTranslationType looks like this: