Skip to content

Commit a5e3aae

Browse files
committed
Merge pull request symfony#3316 from mgrinko/patch-1
Note was added to preferred_choices option of entity field type
2 parents 5047ff6 + 9cfcad6 commit a5e3aae

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

reference/forms/types/entity.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,10 @@ These options inherit from the :doc:`choice </reference/forms/types/choice>` typ
182182

183183
.. include:: /reference/forms/types/options/preferred_choices.rst.inc
184184

185+
.. note::
186+
187+
This option expects an array of objects unlike the choice field that requires an array of keys.
188+
185189
.. include:: /reference/forms/types/options/empty_value.rst.inc
186190

187191
These options inherit from the :doc:`form </reference/forms/types/form>` type:

0 commit comments

Comments
 (0)