{"action":"created","issue":{"url":"https://api.github.com/repos/symfony2admingenerator/AvocodeFormExtensionsBundle/issues/169","labels_url":"https://api.github.com/repos/symfony2admingenerator/AvocodeFormExtensionsBundle/issues/169/labels{/name}","comments_url":"https://api.github.com/repos/symfony2admingenerator/AvocodeFormExtensionsBundle/issues/169/comments","events_url":"https://api.github.com/repos/symfony2admingenerator/AvocodeFormExtensionsBundle/issues/169/events","html_url":"https://github.com/symfony2admingenerator/AvocodeFormExtensionsBundle/issues/169","id":101382076,"number":169,"title":"Select2 not working when editing","user":{"login":"vkosachev","id":6143450,"avatar_url":"https://avatars.githubusercontent.com/u/6143450?v=3","gravatar_id":"","url":"https://api.github.com/users/vkosachev","html_url":"https://github.com/vkosachev","followers_url":"https://api.github.com/users/vkosachev/followers","following_url":"https://api.github.com/users/vkosachev/following{/other_user}","gists_url":"https://api.github.com/users/vkosachev/gists{/gist_id}","starred_url":"https://api.github.com/users/vkosachev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkosachev/subscriptions","organizations_url":"https://api.github.com/users/vkosachev/orgs","repos_url":"https://api.github.com/users/vkosachev/repos","events_url":"https://api.github.com/users/vkosachev/events{/privacy}","received_events_url":"https://api.github.com/users/vkosachev/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-17T09:47:34Z","updated_at":"2015-08-17T20:33:29Z","closed_at":"2015-08-17T10:22:10Z","body":"Seems that select2 is not triggered to be rendered when I edit an entity with `afe_select2_entity` type. JS and CSS are present on page, but it renders like a simple select. "},"comment":{"url":"https://api.github.com/repos/symfony2admingenerator/AvocodeFormExtensionsBundle/issues/comments/131953900","html_url":"https://github.com/symfony2admingenerator/AvocodeFormExtensionsBundle/issues/169#issuecomment-131953900","issue_url":"https://api.github.com/repos/symfony2admingenerator/AvocodeFormExtensionsBundle/issues/169","id":131953900,"user":{"login":"bobvandevijver","id":1835343,"avatar_url":"https://avatars.githubusercontent.com/u/1835343?v=3","gravatar_id":"","url":"https://api.github.com/users/bobvandevijver","html_url":"https://github.com/bobvandevijver","followers_url":"https://api.github.com/users/bobvandevijver/followers","following_url":"https://api.github.com/users/bobvandevijver/following{/other_user}","gists_url":"https://api.github.com/users/bobvandevijver/gists{/gist_id}","starred_url":"https://api.github.com/users/bobvandevijver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobvandevijver/subscriptions","organizations_url":"https://api.github.com/users/bobvandevijver/orgs","repos_url":"https://api.github.com/users/bobvandevijver/repos","events_url":"https://api.github.com/users/bobvandevijver/events{/privacy}","received_events_url":"https://api.github.com/users/bobvandevijver/received_events","type":"User","site_admin":false},"created_at":"2015-08-17T20:33:29Z","updated_at":"2015-08-17T20:33:29Z","body":"Do you mean that you do not use `form` as the form variable? If you want to do that, you will have to include the following somewhere in your header tag:\r\n\r\n```twig\r\n{{ form_css(form_variable) }}\r\n{{ form_js(form_variable) }}\r\n```"}}