Clicking form <button> results in "Changes that you made may not be saved." popup alert

Created on 26 August 2024, 5 months ago

Problem/Motivation

When the node edit form submit button is actually a , and the Layout Paragraph widget used, upon clicking save, the user is prompted with "Leave site? Changes you made may not be saved."

Steps to reproduce

  1. Enable "Use the administration theme when editing or creating content" in /admin/appearance
  2. Install bootstrap ( https://www.drupal.org/project/bootstrap ) and set it as the default theme.
  3. Add a paragraph type.
  4. Add a paragraph field to a test content type.
  5. Add a new node of the test content type above with one or more paragraphs and save.
  6. Edit the node and update an existing paragraph or add a new one.
  7. Click Save.

Proposed resolution

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇨🇦Canada druplr

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024