File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,8 @@ on all fields.
41
41
42
42
.. include :: /reference/forms/types/options/block_name.rst.inc
43
43
44
+ .. include :: /reference/forms/types/options/max_length.rst.inc
45
+
44
46
inherit_data
45
47
------------
46
48
Original file line number Diff line number Diff line change 1
1
max_length
2
2
~~~~~~~~~~
3
3
4
- ** type** : ``integer``
4
+ ** type** : ``integer`` ** default ** : ``null``
5
5
6
- This option is used to add a ``maxlength`` attribute, which is used by
7
- some browsers to limit the amount of text in a field.
6
+ If this option is not null, an attribute ``maxlength`` is added, which
7
+ is used by some browsers to limit the amount of text in a field.
8
+
9
+ This is just a browser validation, so datas still must be validated
10
+ server side.
You can’t perform that action at this time.
0 commit comments