Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7288a33

Browse filesBrowse files
committed
minor #3789 [Reference][Forms] Improvements to the form type (xabbuh)
This PR was merged into the 2.3 branch. Discussion ---------- [Reference][Forms] Improvements to the form type | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | Commits ------- 8a6feb8 fix the order of the options in the table to match their order below 8e7ebf5 add the action option and the method option to the introductionary table, remove doubled include of them f6a6566 document the default value of the form's compound option
2 parents 72fae25 + 8a6feb8 commit 7288a33
Copy full SHA for 7288a33

File tree

Expand file treeCollapse file tree

2 files changed

+5
-7
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+5
-7
lines changed

‎reference/forms/types/form.rst

Copy file name to clipboardExpand all lines: reference/forms/types/form.rst
+4-6Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ The ``form`` type predefines a couple of options that are then available
88
on all types for which ``form`` is the parent type.
99

1010
+-----------+--------------------------------------------------------------------+
11-
| Options | - `compound`_ |
12-
| | - `data`_ |
11+
| Options | - `data`_ |
1312
| | - `data_class`_ |
1413
| | - `empty_data`_ |
14+
| | - `compound`_ |
1515
| | - `required`_ |
1616
| | - `label_attr`_ |
1717
| | - `constraints`_ |
@@ -30,6 +30,8 @@ on all types for which ``form`` is the parent type.
3030
| | - `extra_fields_message`_ |
3131
| | - `post_max_size_message`_ |
3232
| | - `pattern`_ |
33+
| | - `action`_ |
34+
| | - `method`_ |
3335
+-----------+--------------------------------------------------------------------+
3436
| Inherited | - `block_name`_ |
3537
| options | - `disabled`_ |
@@ -50,10 +52,6 @@ Field Options
5052

5153
.. include:: /reference/forms/types/options/data_class.rst.inc
5254

53-
.. include:: /reference/forms/types/options/action.rst.inc
54-
55-
.. include:: /reference/forms/types/options/method.rst.inc
56-
5755
.. include:: /reference/forms/types/options/empty_data.rst.inc
5856

5957
.. include:: /reference/forms/types/options/compound.rst.inc

‎reference/forms/types/options/compound.rst.inc

Copy file name to clipboardExpand all lines: reference/forms/types/options/compound.rst.inc
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
compound
22
~~~~~~~~
33

4-
**type**: ``boolean``
4+
**type**: ``boolean`` **default**: ``true``
55

66
This option specifies if a form is compound. This is independent of whether the
77
form actually has children. A form can be compound but not have any children

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.