Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fb98977

Browse files
ronanguillouxweaverryan
authored andcommitted
Adding 'attr' option to the Textarea options list
`attr` is a quite useful option, but not yet listed here. BTW, the `attr.rst.inc` file already includes an `attr` conf. example concerning textareas.
1 parent eaaa35a commit fb98977

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

reference/forms/types/textarea.rst

Lines 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)