From cb1965437b0f45bd0950fd967471bdbe65dc7218 Mon Sep 17 00:00:00 2001 From: Manon Bourgognon <manon.bourgognon@epitech.eu> Date: Mon, 21 Dec 2020 17:14:26 +0100 Subject: [PATCH] Autocomplete attribute addition --- .../import_documentation/Components/Solid-Form-Search.rst | 6 ++++++ source/import_documentation/Components/Solid-Form.rst | 5 +++++ source/import_documentation/attributes-list.rst | 5 +++++ 3 files changed, 16 insertions(+) diff --git a/source/import_documentation/Components/Solid-Form-Search.rst b/source/import_documentation/Components/Solid-Form-Search.rst index 3bb477a..d293227 100644 --- a/source/import_documentation/Components/Solid-Form-Search.rst +++ b/source/import_documentation/Components/Solid-Form-Search.rst @@ -86,6 +86,12 @@ Attributes Only usable with ``solid-form-rangedate`` and ``solid-form-rangenumber``. In ``solid-form-rangedate``, it can be defined to ``today``. +``autocomplete-[field]`` +~~~~~~~~~~~~~~~~~~~~~~~~ + *Available from version 0.15* + + Equal to the value ``"off"``, it cancels the automatic entry of values in the relevant ``[field]``. + Widgets ------- By default, the widget used is ``<solid-form-label-text>``. Cf the diff --git a/source/import_documentation/Components/Solid-Form.rst b/source/import_documentation/Components/Solid-Form.rst index 6fd65a7..f56597f 100644 --- a/source/import_documentation/Components/Solid-Form.rst +++ b/source/import_documentation/Components/Solid-Form.rst @@ -111,6 +111,11 @@ Attributes Add this attribute to create a dialog box linked with the submit button of the solid-form. Its value matches the message displayed in the dialog box. +``autocomplete-[field]`` +~~~~~~~~~~~~~~~~~~~~~~~~ + *Available from version 0.15* + + Equal to the value ``"off"``, it cancels the automatic entry of values in the relevant ``[field]``. Widgets ------- diff --git a/source/import_documentation/attributes-list.rst b/source/import_documentation/attributes-list.rst index 7c9e6c8..1fde6c9 100644 --- a/source/import_documentation/attributes-list.rst +++ b/source/import_documentation/attributes-list.rst @@ -5,6 +5,11 @@ List of attributes (core framework) ~~~~~~~~~~~~~~~~~~ * :ref:`widget-mixin <widget-mixin>` +``autocomplete-[field]`` +~~~~~~~~~~~~~~~~~~~~~~~~ + * :ref:`solid-form <solid-form>` + * :ref:`solid-form-search <solid-form-search>` + ``child-[field]`` ~~~~~~~~~~~~~~~~~ * :ref:`solid-display <solid-display>` -- GitLab