Skip to content

Many-to-many in form_filter #93

@treeindark

Description

@treeindark

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions