Skip to content

Commit

Permalink
Removed a duplicated "trim" option in the "password" type
Browse files Browse the repository at this point in the history
  • Loading branch information
javiereguiluz committed Jun 4, 2015
1 parent 1dc53fa commit 32c0af1
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions reference/forms/types/password.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ The ``password`` field renders an input password text box.
| | - `max_length`_ |
| | - `read_only`_ |
| | - `required`_ |
| | - `trim`_ |
+-------------+------------------------------------------------------------------------+
| Parent type | :doc:`text </reference/forms/types/text>` |
+-------------+------------------------------------------------------------------------+
Expand Down Expand Up @@ -92,13 +91,3 @@ The default value is ``''`` (the empty string).
.. include:: /reference/forms/types/options/read_only.rst.inc

.. include:: /reference/forms/types/options/required.rst.inc

trim
~~~~

**type**: ``boolean`` **default**: ``false``

If true, the whitespace of the submitted string value will be stripped
via the :phpfunction:`trim` function when the data is bound. This guarantees
that if a value is submitted with extra whitespace, it will be removed before
the value is merged back onto the underlying object.

0 comments on commit 32c0af1

Please sign in to comment.