Skip to content
Snippets Groups Projects
Commit b7f5b71e authored by Matthieu Fesselier's avatar Matthieu Fesselier
Browse files

Merge branch 'maxlength-attr-texarea' into 'dev'

Add maxlength attribute for textarea

See merge request !58
parents 752eb245 dfa3657a
No related branches found
No related tags found
No related merge requests found
......@@ -127,6 +127,22 @@ Attributes
If the attribute is defined, each change in an input will trigger a request to update the resource.
This attribute works only when editing resources, not creating them.
``maxlength-[field]``
~~~~~~~~~~~~~~~~~~~~~
*Available from version 0.16*
Add this attribute for the field ``[field]`` to define the maximum number of characters that can be typed.
It works only with ``solid-form-text``, ``solid-form-email`` or ``solid-form-password`` and ``solid-form-textarea`` widgets.
``minlength-[field]``
~~~~~~~~~~~~~~~~~~~~~
*Available from version 0.16*
Add this attribute for the field ``[field]`` to define the minimum number of characters that can be typed.
It works only with ``solid-form-text``, ``solid-form-email`` or ``solid-form-password`` and ``solid-form-textarea`` widgets.
``step-[field]``
~~~~~~~~~~~~~~~~
*Available from version 0.16*
......
......@@ -145,11 +145,19 @@ List of attributes (core framework)
``max-[field]``
~~~~~~~~~~~~~~~
* :ref:`solid-form <solid-form>`
``maxlength-[field]``
~~~~~~~~~~~~~~~~~~~~~
* :ref:`solid-form <solid-form>`
``min-[field]``
~~~~~~~~~~~~~~~
* :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