Skip to content
Snippets Groups Projects
Commit 518ad297 authored by Manon Bourgognon's avatar Manon Bourgognon
Browse files

update include for store-mixin, update fields attr

parent 87a09a9d
No related branches found
No related tags found
1 merge request!89Use of include directive on all components, additional tests
......@@ -51,4 +51,4 @@ Mixin attributes
.. include:: ../Mixins/store-mixin.rst
:start-line: 21
:end-line: 122
\ No newline at end of file
:end-before: Events
\ No newline at end of file
......@@ -41,7 +41,7 @@ Mixin attributes
.. include:: ../Mixins/store-mixin.rst
:start-line: 21
:end-line: 122
:end-before: Events
Events
......
......@@ -50,9 +50,12 @@ Specific attributes
``fields``
~~~~~~~~~~
By default, all displayed fields are direct children of
``<solid-display>``. Make sure you don’t give your set the same name as
a field as it would result in an infinite loop.
List of fields displayed.
By default, all displayed fields are direct children of ``<solid-display>``.
More details on its use below (in **widget-mixin attributes**).
``child-[field]``
~~~~~~~~~~~~~~~~~
......@@ -111,7 +114,7 @@ Mixin attributes
.. include:: ../Mixins/store-mixin.rst
:start-line: 21
:end-line: 122
:end-before: Events
**From widget-mixin :**
......
......@@ -37,6 +37,8 @@ Specific attributes
~~~~~~~~~~
List of fields used to perform the search.
More details on its use below (in **widget-mixin attributes**).
.. _label-field-sfs:
``label-[field]``
~~~~~~~~~~~~~~~~~
......
......@@ -30,6 +30,8 @@ Specific attributes
~~~~~~~~~~
List of the fields used to create the form (by default, all of them are used).
More details on its use below (in **widget-mixin attributes**).
.. _label-field-sf:
``label-[field]``
~~~~~~~~~~~~~~~~~
......@@ -187,7 +189,7 @@ Mixin attributes
.. include:: ../Mixins/store-mixin.rst
:start-line: 21
:end-line: 122
:end-before: Events
**From validation-mixin :**
......
......@@ -40,6 +40,8 @@ added to interact with the list of data being displayed.
~~~~~~~~~~
List of the fields to display in a popup which opens when a marker is clicked. If the attribute is not defined, no popup will show up.
More details on its use below (in **widget-mixin attributes**).
``clustering``
~~~~~~~~~~~~~~
*Available from version 0.16*
......@@ -79,7 +81,7 @@ Mixin attributes
.. include:: ../Mixins/store-mixin.rst
:start-line: 21
:end-line: 122
:end-before: Events
**From widget-mixin :**
......
......@@ -44,10 +44,9 @@ Specific attributes
``fields``
~~~~~~~~~~
By default, all displayed fields are direct children of
``<solid-display>``. Make sure you don’t give your set the same name as
a field as it would result in an infinite loop.
List of fields displayed in the table.
More details on its use below (in **widget-mixin attributes**).
``header``
~~~~~~~~~~
......@@ -132,7 +131,7 @@ Mixin attributes
.. include:: ../Mixins/store-mixin.rst
:start-line: 21
:end-line: 122
:end-before: Events
**From widget-mixin :**
......
......@@ -9,7 +9,9 @@ Used by:
* :ref:`solid-display <solid-display>`
* :ref:`solid-form <solid-form>`
* :ref:`solid-form-search <solid-form-search>`
* :ref:`solid-map <solid-map>`
* :ref:`solid-table <solid-table>`
Attributes
......@@ -20,7 +22,7 @@ Attributes
~~~~~~~~~~
The ordered list of fields to be displayed, separated by commas.
By default, all the fields of the resource are displayed.
By default, all the fields of the resource are used.
To not show any fields, put an empty fields (eg.
``<solid-display fields />)``
......@@ -41,7 +43,9 @@ Attributes
fields="fullName(first_name, last_name), email"
></solid-display>
You can customize the group widget, see the :ref:`Sets widgets <reference>` page for more info.
Make sure you don’t give your set the same name as a field as it would result in an infinite loop.
You can customize the group widget, see the :ref:`Sets widgets <reference>` page for more info.
**Strings**
......@@ -97,7 +101,8 @@ Attributes
.. _action-field:
``action-[field]``
~~~~~~~~~~~~~~~~~~
Displays a link with a ``<solid-link>`` tag with the current resource as ``data-src`` and the value of the attribute as ``next``.
Displays a link with a ``<solid-link>`` tag with the current resource as ``data-src`` and
the value of the attribute as ``next``.
.. _src-field:
``src-[field]``
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment