Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcff2ee2

Browse files
committed
Merge branch '2.7' into 2.8
* 2.7: Fix maxlength attribute for forms
2 parents4e58220 +1915270 commitcff2ee2

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
@@ -581,10 +581,10 @@ the correct values of a number of field options.
581581
field ``nullable``). This is very useful, as your client-side validation will
582582
automatically match your validation rules.
583583

584-
``max_length``
585-
If the field is some sort of text field, then the ``max_length`` optioncan be
586-
guessed from the validation constraints (if ``Length`` or ``Range`` is used) or
587-
from the Doctrine metadata (via the field's length).
584+
``maxlength``
585+
If the field is some sort of text field, then the ``maxlength`` optionattribute
586+
can beguessed from the validation constraints (if ``Length`` or ``Range`` is used)
587+
orfrom the Doctrine metadata (via the field's length).
588588

589589
..caution::
590590

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp