8000
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.
1 parent 1262487 commit 86e260eCopy full SHA for 86e260e
cookbook/form/dynamic_form_modification.rst
@@ -277,8 +277,6 @@ and fill in the listener logic::
277
278
$formOptions = array(
279
'class' => 'Acme\DemoBundle\Entity\User',
280
- 'multiple' => false,
281
- 'expanded' => false,
282
'property' => 'fullName',
283
'query_builder' => function(EntityRepository $er) use ($user) {
284
// build a custom query, or call a method on your repository (even better!)
@@ -295,6 +293,10 @@ and fill in the listener logic::
295
293
// ...
296
294
}
297
+.. note::
+
298
+ The ``multiple`` and ``expanded`` form options will default to false because the entity type is ``entity``.
299
300
Using the Form
301
~~~~~~~~~~~~~~
302
0 commit comments