Skip to content
Snippets Groups Projects
Commit 752eb245 authored by Matthieu Fesselier's avatar Matthieu Fesselier
Browse files

Merge branch 'default-widget-for-field' into 'dev'

add default-widget-[field]

See merge request documentation/doc!59
parents 7c4f197a a01570e6
No related branches found
No related tags found
No related merge requests found
...@@ -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