【发布时间】:2016-10-29 11:33:28
【问题描述】:
我正在使用tetranz/select2entity-bundle,我想通过 ajax 发送另一个参数以在查询中使用它。
$builder->add('client', Select2EntityType::class, array(
'multiple' => false,
'remote_route' => 'clientquery',
'class' => 'ProjetsBundle\Entity\Client',
'primary_key' => 'id',
'placeholder' => 'Sélectionnez un client',
'language' => 'fr',
'page_limit' => 50,
))
这可能吗?
【问题讨论】: