File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ on all types for which ``FormType`` is the parent.
48
48
| | - `translation_domain `_ |
49
49
| | - `label_translation_parameters `_ |
50
50
| | - `attr_translation_parameters `_ |
51
+ | | - `priority `_ |
51
52
+---------------------------+--------------------------------------------------------------------+
52
53
| Default invalid message | This value is not valid. |
53
54
+---------------------------+--------------------------------------------------------------------+
@@ -189,3 +190,5 @@ of the form type tree (i.e. it cannot be used as a form type on its own).
189
190
.. include :: /reference/forms/types/options/label_translation_parameters.rst.inc
190
191
191
192
.. include :: /reference/forms/types/options/attr_translation_parameters.rst.inc
193
+
194
+ .. include :: /reference/forms/types/options/priority.rst.inc
Original file line number Diff line number Diff line change
1
+ priority
2
+ ~~~~~~~~
3
+
4
+ **type **: ``integer`` **default**: ``0 ``
5
+
6
+ Allows you to set the field rendering priority. This option will affect
7
+ the view order only , sorting all fields in order of importance instead of
8
+ simply numerical order, i.e. fields with higher priority will be rendered
9
+ first, fields with lower priority will be rendered last and fields with
10
+ equal priority will keep the original order.
You can’t perform that action at this time.
0 commit comments