Skip to content

Commit deb3265

Browse files
committed
[Form] Mentioned the change in the "preferred choices" behavior
1 parent 46cabc9 commit deb3265

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

reference/forms/types/options/preferred_choices.rst.inc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ you can list the most popular on top, like Bork Bork and Pirate::
2020
'preferred_choices' => ['muppets', 'arr'],
2121
]);
2222

23+
.. versionadded:: 4.4
24+
25+
Starting from Symfony 4.4, the preferred choices are displayed both at the
26+
top of the list and at their original locations on the list. In prior
27+
Symfony versions, they were only displayed at the top of the list.
28+
2329
This options can also be a callback function to give you more flexibility. This might
2430
be especially useful if your values are objects::
2531

0 commit comments

Comments
 (0)