"You have unsaved changes." prompt does not display when "Required" checkboxes are clicked

Created on 27 July 2025, 29 days ago

Problem/Motivation

  • A "You have unsaved changes." prompt displays when the user changes the order of webform elements, reminding the user that the changes haven't been saved yet and they need to click the save button.
  • However, the said prompt does not display when the "Required" checkboxes are clicked. The user may not know they have to click the save button and loses their changes.

Steps to reproduce

  • Create a webform with some elements.
  • Click the "Required" checkboxes. A "You have unsaved changes." prompt does not display.
  • Rearrange the elements. This time, a "You have unsaved changes." prompt displays as expected.

Proposed resolution

  • Display a "You have unsaved changes." prompt when the "Required" checkboxes are clicked, reminding the user they have to click the save button to save their changes to the required states.
🐛 Bug report
Status

Active

Version

6.2

Component

Code

Created by

🇨🇦Canada andrew.wang

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024