tetranz / select2entity-bundle

A Symfony2 bundle that integrates Select2 as a drop-in replacement for a standard entity field on a Symfony form.
MIT License
218 stars 111 forks source link

Prefill select on form load wich remote_route #189

Open SebLevDev opened 2 years ago

SebLevDev commented 2 years ago

Hello, i have a select2 and i want to avoid force remote ajax request when the list of item is small. there is a solution to prefill the select2 with a default list of item on form load/render for select wich opetion remote_route

Thanks