Skip to content

fix(frontend): defer form title save to cta click in design drawer#9772

Open
rickysurya wants to merge 1 commit into
opengovsg:developfrom
rickysurya:fix/design-drawer-title-save
Open

fix(frontend): defer form title save to cta click in design drawer#9772
rickysurya wants to merge 1 commit into
opengovsg:developfrom
rickysurya:fix/design-drawer-title-save

Conversation

@rickysurya

Copy link
Copy Markdown

Problem

Every other field in that drawer only saves when "Save design" is clicked, but the form name was able to save immediately on blur which created inconsistencies with the rest of settings in the drawer

Closes #9350

Solution

Moved the form title into the local frontend draft layer. The live preview window now listens to this local store draft. The actual save is now deferred until the user explicitly clicks the "Save design" CTA button.

Breaking Changes

  • Yes - this PR contains breaking changes
    • Details ...
  • No - this PR is backwards compatible

@rickysurya
rickysurya requested a review from a team July 20, 2026 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Form name in headers & instructions should only save after clicking “save design”

1 participant