File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ Example Usage
27
27
28
28
Before using this field, you'll need to have some PHP enumeration (or "enum" for
29
29
short) defined somewhere in your application. This enum has to be of type
30
- "backed enum", where each keyword defines a scalar value such a string::
30
+ "backed enum", where each keyword defines a scalar value such as a string::
31
31
32
32
// src/Config/TextAlign.php
33
33
namespace App\Config;
@@ -49,8 +49,8 @@ Instead of using the values of the enumeration in a ``choices`` option, the
49
49
$builder->add('alignment', EnumType::class, ['class' => TextAlign::class]);
50
50
51
51
This will display a ``<select> `` tag with the three possible values defined in
52
- the ``TextAlign `` enum. Use the `` expanded `` and `` multiple `` options to display
53
- these values as ``<input type="checkbox"> `` and ``<input type="radio"> ``.
52
+ the ``TextAlign `` enum. Use the `expanded `_ and `multiple `_ options to display
53
+ these values as ``<input type="checkbox"> `` or ``<input type="radio"> ``.
54
54
55
55
Field Options
56
56
-------------
You can’t perform that action at this time.
0 commit comments