Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$form->add('postage_option', 'entity', array( 'class' => 'AcmeBundle:PostageOption', 'property' => 'name', 'multiple' => false, 'expanded' => true ));
Template:
{% for option in form.postage_option %} <div> {{ dump(option.vars.data) }} {{ form_widget(option) }} </div> {% endfor %}
The dump returns false, what is wrong with this?
Using Symfony 2.2
The text was updated successfully, but these errors were encountered:
I think there is nothing wrong, what you are rendering are checkboxes so the data is true or false.
Sorry, something went wrong.
Duplicate of #5286
No branches or pull requests
Template:
The dump returns false, what is wrong with this?
Using Symfony 2.2
The text was updated successfully, but these errors were encountered: