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 e5e9a5d commit 731617fCopy full SHA for 731617f
reference/forms/types/choice.rst
@@ -197,6 +197,14 @@ if you want to take advantage of lazy loading::
197
},
198
));
199
200
+This will cause the call of ``StaticClass::getConstants()`` to not happen if the request is redirected
201
+and if there is no pre set or submitted data. Otherwise the choice options would need to be resolved thus
202
+triggering the callback.
203
+
204
+.. versionadded:: 3.2
205
+ The ability to use an instance of :class:`Symfony\\Component\\Form\\ChoiceList\\Loader\\CallbackChoiceLoader`
206
+ has been introduced in Symfony 3.2
207
208
.. include:: /reference/forms/types/options/choice_name.rst.inc
209
210
.. include:: /reference/forms/types/options/choice_translation_domain.rst.inc
0 commit comments