From db684192fedae1a7d0337415aba88a2868188351 Mon Sep 17 00:00:00 2001 From: Manon Bourgognon <manon.bourgognon@epitech.eu> Date: Tue, 15 Sep 2020 10:56:37 +0200 Subject: [PATCH] Update solid-form doc with min,max attributes --- 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 960a0dc..d04f7ad 100644 --- a/source/import_documentation/Components/Solid-Form.rst +++ b/source/import_documentation/Components/Solid-Form.rst @@ -61,6 +61,16 @@ Attributes Add this attribute when the form does not include all the fields of the resource to update. +``min-xyz`` +~~~~~~~~~~~ + Add this attribute for the field ``xyz`` to define its minimum value. + It works only with a ``solid-form-number`` widget. + +``max-xyz`` +~~~~~~~~~~~ + Add this attribute for the field ``xyz`` to define its maximum value. + It works only with a ``solid-form-number`` widget. + Widgets ------- By default, the widget used is ``<solid-form-label-text>``. Cf the -- GitLab