Discard Changes Modal

<sw-discard-changes-modal>

ready
A modal that prompts the user if he wants to leave a detail page with unsaved changes.

Usage

Loading...
 <sw-discard-changes-modal v-if="showDiscardChangesModal"

Methods

Method name Parameters
keepEditing No parameters
discardChanges No parameters

Imports

  • ./sw-discard-changes-modal.html.twig

Twig blocks

  • sw_discard_changes_modal_text
  • sw_discard_changes_modal_discard_changes_modal_cancel
  • sw_discard_changes_modal_footer
  • sw_discard_changes_modal