diff --git a/source/import_documentation/Mixins/widget-mixin.rst b/source/import_documentation/Mixins/widget-mixin.rst index bad67b609b2a6c9fcd621b6a730247e732a363f1..06afbdd78853c5c99b0ec9e4d6adf79e8d0ff4db 100644 --- a/source/import_documentation/Mixins/widget-mixin.rst +++ b/source/import_documentation/Mixins/widget-mixin.rst @@ -71,7 +71,7 @@ Attributes ``default-[field]`` ~~~~~~~~~~~~~~~~~~~ - Value displayed for ``[field]`` when it’s empty or not defined + Value displayed for ``[field]`` when it’s empty or not defined. ``widget-[field]`` ~~~~~~~~~~~~~~~~~~ @@ -95,11 +95,11 @@ Attributes ``label-[field]`` ~~~~~~~~~~~~~~~~~ - Set the label for the ``[field]`` + Set the label for the ``[field]``. ``placeholder-[field]`` ~~~~~~~~~~~~~~~~~~~~~~~ - Set the placeholder for the ``[field]`` + Set the placeholder for the ``[field]``. ``class-[field]`` ~~~~~~~~~~~~~~~~~ @@ -126,6 +126,11 @@ Attributes editable-name ></solid-display> +``alt-[field]`` +~~~~~~~~~~~~~~~ + *Works only with solid-display-img* + + Set the alt for the field ``[field]``. ``multiple-[field]`` ~~~~~~~~~~~~~~~~~~~~ diff --git a/source/import_documentation/Widgets/Reference.rst b/source/import_documentation/Widgets/Reference.rst index f25f72dd53e7c530d9aab9048954116d2d3c6fa6..3d95c3d3e25143161bfe896add24c94582a4d4b7 100644 --- a/source/import_documentation/Widgets/Reference.rst +++ b/source/import_documentation/Widgets/Reference.rst @@ -29,10 +29,10 @@ Name of the template to use. Available templates: - ``display`` directory - ``value``: displays ``value`` directly in the widget tag. - - ``div``: displays ``value`` inside a ``<div>`` tag - - ``link``: displays ``value`` as an ``href`` attribute in a ``<a>`` tag - - ``img``: displays ``value`` as a ``src`` attribute in a ``<img>`` tag - - ``boolean``: displays label (or name) in a ``<label>`` tag if ``value == true`` + - ``div``: displays ``value`` inside a ``<div>`` tag. + - ``link``: displays ``value`` as an ``href`` attribute in a ``<a>`` tag. + - ``img``: displays ``value`` as a ``src`` attribute in a ``<img>`` tag. + - ``boolean``: displays label (or name) in a ``<label>`` tag if ``value == true``. - ``form`` directory diff --git a/source/import_documentation/attributes-list.rst b/source/import_documentation/attributes-list.rst index 7f42901bf42bffff4fa573f178eeeea1ca6c25d9..00c0f4af7099bf2174bf6cedaa18a98f7cd60b11 100644 --- a/source/import_documentation/attributes-list.rst +++ b/source/import_documentation/attributes-list.rst @@ -5,6 +5,10 @@ List of attributes (core framework) ~~~~~~~~~~~~~~~~~~ * :ref:`widget-mixin <widget-mixin>` +``alt-[field]`` +~~~~~~~~~~~~~~~ + * :ref:`widget-mixin <widget-mixin>` + ``autocomplete-[field]`` ~~~~~~~~~~~~~~~~~~~~~~~~ * :ref:`solid-form <solid-form>`