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 3e68ee7

Browse filesBrowse files
committed
minor symfony#4152 Adding 'attr' option to the Textarea options list (ronanguilloux)
This PR was submitted for the 2.5 branch but it was merged into the 2.3 branch instead (closes symfony#4152). Discussion ---------- Adding 'attr' option to the Textarea options list | Q | A | ------------- | --- | Doc fix? | yes | New docs? | nope | Applies to | all? | Fixed tickets | ? `attr` is a quite useful option, but not yet listed here, so I added it. BTW, the `attr.rst.inc` file already includes an `attr` conf. example concerning textareas. Commits ------- d6f9bd1 Adding 'attr' option to the Textarea options list
2 parents eaaa35a + fb98977 commit 3e68ee7
Copy full SHA for 3e68ee7

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+5
-2
lines changed

‎reference/forms/types/textarea.rst

Copy file name to clipboardExpand all lines: reference/forms/types/textarea.rst
+5-2Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ Renders a ``textarea`` HTML element.
99
+-------------+------------------------------------------------------------------------+
1010
| Rendered as | ``textarea`` tag |
1111
+-------------+------------------------------------------------------------------------+
12-
| Inherited | - `data`_ |
13-
| options | - `disabled`_ |
12+
| Inherited | - `attr`_ |
13+
| options | - `data`_ |
14+
| | - `disabled`_ |
1415
| | - `empty_data`_ |
1516
| | - `error_bubbling`_ |
1617
| | - `error_mapping`_ |
@@ -32,6 +33,8 @@ Inherited Options
3233

3334
These options inherit from the :doc:`form </reference/forms/types/form>` type:
3435

36+
.. include:: /reference/forms/types/options/attr.rst.inc
37+
3538
.. include:: /reference/forms/types/options/data.rst.inc
3639

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

0 commit comments

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