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.
2 parents c19485f + 5f71a2c commit 053cee7Copy full SHA for 053cee7
form/dynamic_form_modification.rst
@@ -307,7 +307,7 @@ and fill in the listener logic::
307
308
$formOptions = array(
309
'class' => User::class,
310
- 'property' => 'fullName',
+ 'choice_label' => 'fullName',
311
'query_builder' => function (EntityRepository $er) use ($user) {
312
// build a custom query
313
// return $er->createQueryBuilder('u')->addOrderBy('fullName', 'DESC');
0 commit comments