I get a Item "separator" for "Array" does not exist in
TwigBundle::form.twig error when settings preferred choices on a
ChoiceField.

Seems like line 88 of
Symfony/Bundle/TwigBundle/Resources/views/form.twig should read:

<option disabled="disabled">{{
field.separator|default('-------------------') }}</option>

instead of

<option disabled="disabled">{{
params.separator|default('-------------------') }}</option>

and a getSeparator method be added to ChoiceField.

Thanks,
JoaquĆ­n

-- 
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 developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to