当用户可以选择多个选项时
当您只能选择一个选项时,EntityFilter运行良好,但是在我的情况下,我允许用户选择severals选项:
现在,如果我通过过滤>不等于James Harveyd
这是我的结果:
以及我添加我的过滤器的方式:
public function configureFilters(Filters $filters): Filters
{
return $filters
->add(EntityFilter::new('supervisors', 'supervisors'));
}
我t明白为什么EA让EA成为第二行,有什么想法吗?
EntityFilter works well when you can select only one option but in my case, I allow the user to choose severals option :
Now if I filter by not equal James Harveyd
this is my result :
And the way I add my filter :
public function configureFilters(Filters $filters): Filters
{
return $filters
->add(EntityFilter::new('supervisors', 'supervisors'));
}
I don(t understand why EA make appear the second line, any idea ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论