File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 44** type** : ``Boolean`` ** default** : ``true ``
55
66If 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
88if a value is submitted with extra whitespace, it will be removed before
99the 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).
7676
7777.. include :: /reference/forms/types/options/required.rst.inc
7878
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