My bad, forgot to add "extends" directive in my template.

On Jun 15, 6:13 pm, Rytis Daugirdas <rytis.daugir...@gmail.com> wrote:
> Hello,
>
> I customized "choice_widget" block by copying it from
> "div_layout.html.twig" to my own template file and adding it under
> twig/form/resources in config.yml. My customizations work fine when I
> add a "choice" field with the form builder, but now "country" fields
> are not rendered correctly (empty select widget, no options to choose
> from). If I remove the customized block from my template, "country"
> fields are rendered correctly. The customizations I added to
> "choice_widget" cannot affect this since the changes are very basic.
> My template does not contain any other customized blocks.
>
> Why did customizing "choice_widget" break "country" fields?
>
> Thanks,
> Rytis

-- 
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

Reply via email to