Skip to content

Commit 6be4c20

Browse files
committed
minor #6260 add missing options choice_value, choice_name and choice_attr to EntityType (HeahDude)
This PR was merged into the 2.7 branch. Discussion ---------- add missing options `choice_value`, `choice_name` and `choice_attr` to `EntityType` | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no (& yes symfony/symfony#17694) | Applies to | 2.7+ | Fixed tickets | #6259 Commits ------- 9785f08 add missing options `choice_value`, `choice_name` and `choice_attr` to `EntityType`
2 parents bc70d00 + 9785f08 commit 6be4c20

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

reference/forms/types/entity.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ objects from the database.
2222
+-------------+------------------------------------------------------------------+
2323
| Inherited | from the :doc:`choice </reference/forms/types/choice>` type: |
2424
| options | |
25+
| | - `choice_value`_ |
26+
| | - `choice_name`_ |
27+
| | - `choice_attr`_ |
2528
| | - `placeholder`_ |
2629
| | - `choice_translation_domain`_ |
2730
| | - `translation_domain`_ |
@@ -195,6 +198,12 @@ Inherited Options
195198
These options inherit from the :doc:`choice </reference/forms/types/choice>`
196199
type:
197200

201+
.. include:: /reference/forms/types/options/choice_value.rst.inc
202+
203+
.. include:: /reference/forms/types/options/choice_name.rst.inc
204+
205+
.. include:: /reference/forms/types/options/choice_attr.rst.inc
206+
198207
.. include:: /reference/forms/types/options/placeholder.rst.inc
199208

200209
.. include:: /reference/forms/types/options/choice_translation_domain.rst.inc

0 commit comments

Comments
 (0)