From 7addc8df007854a180030c30a72ee0bc3aa9c799 Mon Sep 17 00:00:00 2001 From: Manon Bourgognon <manon.bourgognon@epitech.eu> Date: Tue, 3 Nov 2020 18:51:51 +0100 Subject: [PATCH] update solid-form with confirmation-message --- source/import_documentation/Components/Solid-Delete.rst | 5 +++++ source/import_documentation/attributes-list.rst | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/source/import_documentation/Components/Solid-Delete.rst b/source/import_documentation/Components/Solid-Delete.rst index a144591..6e88424 100644 --- a/source/import_documentation/Components/Solid-Delete.rst +++ b/source/import_documentation/Components/Solid-Delete.rst @@ -31,6 +31,11 @@ Attributes ~~~~~~~~~~~~~~ The text to display on the delete button. +``confirmation-message`` +~~~~~~~~~~~~~~~~~~~~~~~~~ + Add this attribute to create a dialog box linked with the submit button of the solid-form. + Its value matches the message displayed in the dialog box. + Events ------- diff --git a/source/import_documentation/attributes-list.rst b/source/import_documentation/attributes-list.rst index 6702574..23179a6 100644 --- a/source/import_documentation/attributes-list.rst +++ b/source/import_documentation/attributes-list.rst @@ -6,7 +6,7 @@ List of attributes (core framework) * :ref:`widget-mixin <widget-mixin>` ``child-[field]`` -~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~ * :ref:`solid-display <solid-display>` ``class-[field]`` @@ -16,6 +16,7 @@ List of attributes (core framework) ``confirmation-message`` ~~~~~~~~~~~~~~~~~~~~~~~~ * :ref:`solid-form <solid-form>` + * :ref:`solid-delete <solid-delete>` ``counter-template`` ~~~~~~~~~~~~~~~~~~~~ -- GitLab