From 2c2bf80a91d36a70a9cab8c16b2a18d197c63570 Mon Sep 17 00:00:00 2001 From: Matthieu Fesselier <matthieu@startinblox.com> Date: Thu, 29 Apr 2021 11:43:25 +0200 Subject: [PATCH] update auto-range --- .../import_documentation/Components/Solid-Form-Search.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/source/import_documentation/Components/Solid-Form-Search.rst b/source/import_documentation/Components/Solid-Form-Search.rst index 20ab8b3..1fe1e9b 100644 --- a/source/import_documentation/Components/Solid-Form-Search.rst +++ b/source/import_documentation/Components/Solid-Form-Search.rst @@ -146,8 +146,10 @@ Attributes ~~~~~~~~~~~~~~~~~~~~~~~ *Available from version 0.17* - Allows to display a list of the ``field`` values in the ``solid-form-search`` dropdown for each resource included in the ``data-src``. Each value is dispalyed once. - It takes only a field that refer to a container. + Dynamically populates a dropdown based on the values of the ``solid-display``(s) associated. + For each ``solid-display``, it will look for its ``field`` values, and add them to the dropdown. + Each value is displayed only once. + ``field`` can target a ``container`` or a ``resource``. In this example below, ``auto-range-skills ``attribute catches all skill values for all users in the ``data-src`` `data/list/users` and displays in the dropdown all skills once : .. code:: html @@ -163,7 +165,7 @@ Attributes multiple-skills filtered-by="filter-autorange" ></solid-display> - + Widgets ------- -- GitLab