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

add default-widget-[field]

parent 7c4f197a
No related branches found
No related tags found
2 merge requests!60Dev to Master,!59add default-widget-[field]
...@@ -85,6 +85,10 @@ Attributes ...@@ -85,6 +85,10 @@ Attributes
~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
The widget to use for all the fields, except if a specific one is defined for a field. The widget to use for all the fields, except if a specific one is defined for a field.
``default-widget-[field]``
~~~~~~~~~~~~~~~~~~~~~~~~~~
The widget displayed by default if the ``[field]`` is empty.
``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``.
......
...@@ -75,6 +75,10 @@ List of attributes (core framework) ...@@ -75,6 +75,10 @@ List of attributes (core framework)
~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
* :ref:`widget-mixin <widget-mixin>` * :ref:`widget-mixin <widget-mixin>`
``default-widget-[field]``
~~~~~~~~~~~~~~~~~~~~~~~~~~
* :ref:`widget-mixin <widget-mixin>`
``editable-[field]`` ``editable-[field]``
~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~
* :ref:`widget-mixin <widget-mixin>` * :ref:`widget-mixin <widget-mixin>`
......
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