Skip to content

Commit 32c0af1

Browse files
committed
Removed a duplicated "trim" option in the "password" type
1 parent 1dc53fa commit 32c0af1

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

reference/forms/types/password.rst

-11
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ The ``password`` field renders an input password text box.
2424
| | - `max_length`_ |
2525
| | - `read_only`_ |
2626
| | - `required`_ |
27-
| | - `trim`_ |
2827
+-------------+------------------------------------------------------------------------+
2928
| Parent type | :doc:`text </reference/forms/types/text>` |
3029
+-------------+------------------------------------------------------------------------+
@@ -92,13 +91,3 @@ The default value is ``''`` (the empty string).
9291
.. include:: /reference/forms/types/options/read_only.rst.inc
9392

9493
.. include:: /reference/forms/types/options/required.rst.inc
95-
96-
trim
97-
~~~~
98-
99-
**type**: ``boolean`` **default**: ``false``
100-
101-
If true, the whitespace of the submitted string value will be stripped
102-
via the :phpfunction:`trim` function when the data is bound. This guarantees
103-
that if a value is submitted with extra whitespace, it will be removed before
104-
the value is merged back onto the underlying object.

0 commit comments

Comments
 (0)