From 732b28da531b6387e07d95b7ed9264e3c91642a5 Mon Sep 17 00:00:00 2001 From: Manon Bourgognon <manon.bourgognon@epitech.eu> Date: Thu, 25 Feb 2021 15:41:14 +0100 Subject: [PATCH] add minlength and maxlength version --- source/import_documentation/Components/Solid-Form.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/import_documentation/Components/Solid-Form.rst b/source/import_documentation/Components/Solid-Form.rst index c955ea2..c909459 100644 --- a/source/import_documentation/Components/Solid-Form.rst +++ b/source/import_documentation/Components/Solid-Form.rst @@ -129,11 +129,15 @@ Attributes ``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 ``<input type="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 ``<input type="text">``, ``solid-form-email`` or ``solid-form-password`` and ``solid-form-textarea`` widgets. -- GitLab