Skip to content

fix(submit): leave removed values out of restored answers - #3914

Merged
Chartman123 merged 1 commit into
mainfrom
fix/submit-restored-answers-removed-values
Nov 18, 2026
Merged

Chartman123 merged 1 commit into
mainfrom
fix/submit-restored-answers-removed-values

Conversation

@AndyScherzinger

Copy link
Copy Markdown
Member

Split out of #3833, so it can be merged and backported on its own. The commit is unchanged and drops out of #3833 once this is merged.

  • A draft restored from the local storage of a logged in respondent, and a submission opened for editing, keep only the values the question still offers: options of radio, checkbox, dropdown and ranking questions, or an answer "Other" while the question allows it, rows and columns of grid questions, and values of a linear scale within its bounds.
  • Before, a value the owner removed after the draft was saved or the submission was made stayed in the answer invisibly, and the server rejected it on every submit until the form was cleared.

Tests

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI (N/A)

A draft restored from the local storage of a logged in respondent, and
a submission opened for editing, keep only the values the question
still offers: options of radio, checkbox, dropdown and ranking
questions, or an answer "Other" while the question allows it, rows and
columns of grid questions, and values of a linear scale within its
bounds. A value the owner removed after the draft was saved or the
submission was made no longer stays in the answer invisibly, where the
server rejects it on every submit until the form is cleared.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
@AndyScherzinger AndyScherzinger added this to the 5.5 milestone Nov 18, 2026
@AndyScherzinger AndyScherzinger added bug Something isn't working 3. to review Waiting for reviews AI assisted labels Nov 18, 2026
@AndyScherzinger AndyScherzinger self-assigned this Nov 18, 2026
@AndyScherzinger

Copy link
Copy Markdown
Member Author

/backport! to stable5.4

@backportbot backportbot Bot added the backport-request Pending backport by the backport-bot label Nov 18, 2026
@backportbot backportbot Bot removed the backport-request Pending backport by the backport-bot label Nov 18, 2026
@Chartman123
Chartman123 merged commit 66ac7b7 into main Nov 18, 2026
42 checks passed
@Chartman123
Chartman123 deleted the fix/submit-restored-answers-removed-values branch November 18, 2026 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews AI assisted bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants