8000 minor #10094 Added the missing attr option in TextType (javiereguiluz) · symfony/symfony-docs@2aad13d · GitHub
[go: up one dir, main page]

Skip to content

Commit 2aad13d

Browse files
committed
minor #10094 Added the missing attr option in TextType (javiereguiluz)
This PR was merged into the 2.8 branch. Discussion ---------- Added the missing attr option in TextType Fixes #9949. Commits ------- ae11a5b Added the missing attr option in TextType
2 parents 0b8c2ae + ae11a5b commit 2aad13d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

reference/forms/types/text.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ The TextType field represents the most basic input text field.
99
+-------------+--------------------------------------------------------------------+
1010
| Rendered as | ``input`` ``text`` field |
1111
+-------------+--------------------------------------------------------------------+
12-
| Inherited | - `data`_ |
13-
| options | - `disabled`_ |
12+
| Inherited | - `attr`_ |
13+
| options | - `data`_ |
14+
| | - `disabled`_ |
1415
| | - `empty_data`_ |
1516
| | - `error_bubbling`_ |
1617
| | - `error_mapping`_ |
@@ -36,6 +37,8 @@ Inherited Options
3637

3738
These options inherit from the :doc:`FormType </reference/forms/types/form>`:
3839

40+
.. include:: /reference/forms/types/options/attr.rst.inc
41+
3942
.. include:: /reference/forms/types/options/data.rst.inc
4043

4144
.. include:: /reference/forms/types/options/disabled.rst.inc

0 commit comments

Comments
 (0)
0