Skip to content

Commit f02815e

Browse files
committed
Fix maxlength attribute for forms
1 parent da6afe8 commit f02815e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

forms.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -568,10 +568,10 @@ the correct values of a number of field options.
568568
field ``nullable``). This is very useful, as your client-side validation will
569569
automatically match your validation rules.
570570

571-
``max_length``
572-
If the field is some sort of text field, then the ``max_length`` option can be
573-
guessed from the validation constraints (if ``Length`` or ``Range`` is used) or
574-
from the Doctrine metadata (via the field's length).
571+
``maxlength``
572+
If the field is some sort of text field, then the ``maxlength`` option attribute
573+
can be guessed from the validation constraints (if ``Length`` or ``Range`` is used)
574+
or from the Doctrine metadata (via the field's length).
575575

576576
.. caution::
577577

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy