Skip to content

Commit 0fb2c5f

Browse files
committed
minor #3651 [Reference][Forms] remove the label_attr option which is not available in the button type (xabbuh)
This PR was merged into the 2.3 branch. Discussion ---------- [Reference][Forms] remove the label_attr option which is not available in the button type | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | The ``label_attr`` is neither defined in the ``ButtonType`` class nor in the ``BaseType`` class, but in the ``FormType`` class instead. Thus, it can't be used for the ``button`` type. Commits ------- 5bafc3c remove the label_attr option which is not available in the button type
2 parents 69ac21b + 5bafc3c commit 0fb2c5f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

reference/forms/types/button.rst

-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ A simple, non-responsive button.
1515
| Options | - `attr`_ |
1616
| | - `disabled`_ |
1717
| | - `label`_ |
18-
| | - `label_attr`_ |
1918
| | - `translation_domain`_ |
2019
+----------------------+----------------------------------------------------------------------+
2120
| Overridden options | - `auto_initialize`_ |
@@ -34,8 +33,6 @@ Options
3433

3534
.. include:: /reference/forms/types/options/button_label.rst.inc
3635

37-
.. include:: /reference/forms/types/options/label_attr.rst.inc
38-
3936
.. include:: /reference/forms/types/options/button_translation_domain.rst.inc
4037

4138
Overridden Options

0 commit comments

Comments
 (0)