File tree 2 files changed +10
-2
lines changed
2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 4
4
**type**: ``Boolean`` **default**: ``true ``
5
5
6
6
If true , the whitespace of the submitted string value will be stripped
7
- via the `` trim()` ` function when the data is bound. This guarantees that
7
+ via the :phpfunction:` trim` function when the data is bound. This guarantees that
8
8
if a value is submitted with extra whitespace, it will be removed before
9
9
the value is merged back onto the underlying object.
Original file line number Diff line number Diff line change @@ -76,4 +76,12 @@ The default value is ``''`` (the empty string).
76
76
77
77
.. include :: /reference/forms/types/options/required.rst.inc
78
78
79
- .. include :: /reference/forms/types/options/trim.rst.inc
79
+ trim
80
+ ~~~~
81
+
82
+ **type **: ``Boolean `` **default **: ``false ``
83
+
84
+ If true, the whitespace of the submitted string value will be stripped
85
+ via the :phpfunction: `trim ` function when the data is bound. This guarantees that
86
+ if a value is submitted with extra whitespace, it will be removed before
87
+ the value is merged back onto the underlying object.
You can’t perform that action at this time.
0 commit comments