Symfony EntityType as autocomplete
<pre><code>-&gt;add('skills', EntityType::class, array(
                    'class' =&gt; ProfileSkills::class,
                    'query_builder' =&gt; function (EntityRepository $er) {
                        return $er-&gt;createQueryBuilder('s')
                            -&gt;orderBy('s.id', 'ASC');
                    },
                    'choice_label' =&gt; 'name',
                    'label' =&gt; 'Research keywords',
                    'attr' =&gt; array(
                        'placeholder' =&gt; 'Please add your research keywords one by one.',
                    )
                ))
</code></pre>

<p>For now tihis is working as huge select field. I need to make it smaller by using autocomplete.</p>

<p>Is there is some way to use data from this EntityType as value for jQuery autocomplete or maybe is some option to do on symfony side?</p>