File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
reference/forms/types/options Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3
3
4
4
** type** : ``boolean`` or ``string`` ** default** : ``false ``
5
5
6
- When ``true `` and used on a form element, it adds a `" form" attribute`_. to its HTML field representation with
7
- its HTML form id. By doing this , form element can be rendered outside HTML form while still working as expected::
6
+ When ``true `` and used on a form element, it adds a `" form" attribute`_ to its HTML field representation with
7
+ its HTML form id. By doing this , a form element can be rendered outside the HTML form while still working as expected::
8
8
9
9
$builder- > add (' body' , TextareaType ::class, [
10
10
' form_attr' = > true ,
@@ -15,7 +15,7 @@ You can also set this to ``true`` on a root form to automatically set the "form"
15
15
16
16
.. note::
17
17
18
- When root form has no ID, ``form_attr`` required to be a string identifier to be used as form ID.
18
+ When root the form has no ID, ``form_attr`` is required to be a string identifier to be used as the form ID.
19
19
20
20
.. caution::
21
21
You can’t perform that action at this time.
0 commit comments