Skip to content
Snippets Groups Projects
Commit 9006cbad authored by Manon Bourgognon's avatar Manon Bourgognon
Browse files

Add minlength and widgets also concerned

parent 578e2a00
No related branches found
No related tags found
2 merge requests!60Dev to Master,!58Add maxlength attribute for textarea
......@@ -130,7 +130,12 @@ Attributes
``maxlength-[field]``
~~~~~~~~~~~~~~~~~~~~~
Add this attribute for the field ``[field]`` to define the maximum number of characters that can be typed.
It works only with a ``solid-form-textarea`` widget.
It works only with ``<input type="text">``, ``solid-form-email`` or ``solid-form-password`` and ``solid-form-textarea`` widgets.
``minlength-[field]``
~~~~~~~~~~~~~~~~~~~~~
Add this attribute for the field ``[field]`` to define the minimum number of characters that can be typed.
It works only with ``<input type="text">``, ``solid-form-email`` or ``solid-form-password`` and ``solid-form-textarea`` widgets.
Widgets
-------
......
......@@ -150,6 +150,10 @@ List of attributes (core framework)
~~~~~~~~~~~~~~~
* :ref:`solid-form <solid-form>`
``minlength-[field]``
~~~~~~~~~~~~~~~~~~~~~
* :ref:`solid-form <solid-form>`
``multiple-[field]``
~~~~~~~~~~~~~~~~~~~~
* :ref:`widget-mixin <widget-mixin>`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment