Filter with relation OneToMany : it's possible ?
Zamoud opened this issue · comments
Zamoud commented
//Xyzbundle/Form/ProductFilterType.php
class ProductFilterType extends AbstractType { public function buildForm(FormBuilderInterface $builder, array $options) { $builder ->add('id', 'filter_number_range') ....... ->add('category', 'filter_text')//### from Category entity #### ..... } }
return
Semantical Error] line 0, col 62 near 'category': Error: Invalid PathExpression. Must be a StateFieldPathExpression.
Gonzalo Alonso commented
Zamoud commented
thank you very much :)