EasyAdminExtensionBundle
EasyAdminExtensionBundle copied to clipboard
Many-to-many in form_filter
Hello,
I've add 2 form_filter
but only 1 appear the first is a select for a status field, OK (only is not a toggle but a select list) the second is a manyToMany I've trying 3 methods
form_filters:
- status
- { property: categories, type_options: { choices: { Categorie: categorie } } }
- { property: categories, type_options: { choices: { Categorie: name} } }
- categories
I add trait (ValueListTrait) in my Entity (parent entity), but nothing work.
I use 2.0.3 /symfony 4.2.2
Thank You!
*-to-many associations are not filterable yet. This is in TODO list.