File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -184,6 +184,10 @@ The ``choice_loader`` can be used to only partially load the choices in cases wh
184184a fully-loaded list is not necessary. This is only needed in advanced cases and
185185would replace the ``choices `` option.
186186
187+ .. versionadded :: 3.2
188+ The :class: `Symfony\\ Component\\ Form\\ ChoiceList\\ Loader\\ CallbackChoiceLoader `
189+ was introduced in Symfony 3.2.
190+
187191You can use an instance of :class: `Symfony\\ Component\\ Form\\ ChoiceList\\ Loader\\ CallbackChoiceLoader `
188192if you want to take advantage of lazy loading::
189193
@@ -201,10 +205,6 @@ This will cause the call of ``StaticClass::getConstants()`` to not happen if the
201205request is redirected and if there is no pre set or submitted data. Otherwise
202206the choice options would need to be resolved thus triggering the callback.
203207
204- .. versionadded :: 3.2
205- The ability to use an instance of :class: `Symfony\\ Component\\ Form\\ ChoiceList\\ Loader\\ CallbackChoiceLoader `
206- was introduced in Symfony 3.2
207-
208208.. include :: /reference/forms/types/options/choice_name.rst.inc
209209
210210.. include :: /reference/forms/types/options/choice_translation_domain.rst.inc
You can’t perform that action at this time.
0 commit comments