We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27d13b3 commit 568fb96Copy full SHA for 568fb96
reference/constraints/NotBlank.rst
@@ -97,9 +97,10 @@ This is the message that will be shown if the value is blank.
97
trim
98
~~~~
99
100
-**type**: ``boolean`` **default**: ``null``
+**type**: ``boolean`` **default**: ``false``
101
102
-If ``true`` and if the given value is a ``string``, every kind of whitespace will be
103
-ignored while checking if it is not blank.
+If ``true`` and if the given value is a ``string``, then the :phpfunction:`trim`
+PHP function will be used in order to ignore leading and trailing whitespace
104
+characters while checking if it is valid.
105
106
.. include:: /reference/constraints/_payload-option.rst.inc
0 commit comments