Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit2f9866c

Browse files
committed
[#6282] Removing PropertyPath as type and clarifying last sentence
1 parent9d00f0b commit2f9866c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

‎reference/forms/types/options/choice_label.rst.inc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ choice_label
44
.. versionadded:: 2.7
55
The ``choice_label`` option was introduced in Symfony 2.7.
66

7-
**type**: ``string``, ``bool``, ``callable`` or ``PropertyPath`` **default**: ``null``
7+
**type**: ``string``, ``callable`` or ``false`` **default**: ``null``
88

99
Normally, the array key of each item in the ``choices`` option is used as the
1010
text that's shown to the user. The ``choice_label`` option allows you to take
@@ -50,5 +50,4 @@ If your choice values are objects, then ``choice_label`` can also be a
5050
));
5151

5252
If set to ``false``, all the tag labels will be discarded for radio or checkbox
53-
inputs. You can also return ``false`` from the callable to discard only the label
54-
of the processed tag.
53+
inputs. You can also return ``false`` from the callable to discard certain labels.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp