Hi guys, Im having a little trouble creating a custom field type with the new form framework. I'm trying to build a new field type as a subclass of the EntityChoiceField to enable autocompletion for the relationship. This requires me to have access to the EntityManager, but passing it from the controller (into the AbstractType subclass) can't be the right way since that would make embedding the form inside other forms impossible without passing the EM to all forms.
Any ideas on how this should work? Am i creating the custom field the wrong way? Any help would be appreciated, Merijn -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en