diff --git a/source/import_documentation/Components/Solid-Form.rst b/source/import_documentation/Components/Solid-Form.rst index fe5c1e6f1b222effac223a26eee1623310158893..b440ca98102ebb980ef31b60228d0bd0cc3439d1 100644 --- a/source/import_documentation/Components/Solid-Form.rst +++ b/source/import_documentation/Components/Solid-Form.rst @@ -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* diff --git a/source/import_documentation/attributes-list.rst b/source/import_documentation/attributes-list.rst index 04bfa6f065cc2a755ef757809a0fc486f2dc6653..3ac73e427455ef93aa049a261773ee395b07b422 100644 --- a/source/import_documentation/attributes-list.rst +++ b/source/import_documentation/attributes-list.rst @@ -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>`