From f2541c9b8e7823adbf1a8e7da4eefa492a889c3d Mon Sep 17 00:00:00 2001 From: Manon Bourgognon <manon.bourgognon@epitech.eu> Date: Fri, 2 Oct 2020 11:40:14 +0200 Subject: [PATCH] Add pattern, title attributes solid-form-text --- source/import_documentation/Components/Solid-Form.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/source/import_documentation/Components/Solid-Form.rst b/source/import_documentation/Components/Solid-Form.rst index d04f7ad..439f8f9 100644 --- a/source/import_documentation/Components/Solid-Form.rst +++ b/source/import_documentation/Components/Solid-Form.rst @@ -71,6 +71,16 @@ Attributes Add this attribute for the field ``xyz`` to define its maximum value. It works only with a ``solid-form-number`` widget. +``pattern-xyz`` +~~~~~~~~~~~~~~~ + Add this attribute for the field ``xyz`` to define a regular expression to check the input's value. + It works only with a ``solid-form-text`` widget. + +``title-xyz`` +~~~~~~~~~~~~~~ + Add this attribute for the field ``xyz`` to precise extra information about an element. + It works only with a ``solid-form-text`` widget. + Widgets ------- By default, the widget used is ``<solid-form-label-text>``. Cf the -- GitLab