This topic contains 2 replies, has 2 voices, and was last updated by zhex900 5 years, 3 months ago.
- Topic
Hi,
I am trying to have an auto complete field. But this only gives me a dropdown. What am I doing wrong?12345678910111213141516171819202122232425$builder->add('oro_eventname','genemu_jqueryselect2_entity',['label' => 'oro.calendar.calendarevent.oro_eventname.label','class' => 'CampusCRM\EventNameBundle\Entity\EventName','property' => 'name','query_builder' => function (EntityRepository $repository) {$qb = $repository->createQueryBuilder('e');return $qb->where($qb->expr()->neq('e.system_calendar', '?1'))->setParameter('1', $this->isSystemCalendar())->orderBy('e.name', 'ASC');},'configs' => ['allowClear' => true,'placeholder' => 'oro.notification.form.choose_event',],'attr' => ['autocomplete' => 'on'],'empty_value' => '','required' => true]);
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The forum ‘OroCRM – How do I? Questions’ is closed to new topics and replies.