Skip to content

Conversation

@niko-amosse
Copy link

Describe your changes

Implemented local saving of user responses in the preview.
Now, when navigating between questions in the preview, any previously entered answers (short answer, date, time, single choice, or slider) are preserved.
This ensures that going back to a previous question displays the last entered value without needing to resubmit.

Checklist tests

  • Navigate through the preview and enter responses for each question type.
  • Go back to previous questions and verify that the previously entered answers are displayed correctly.
  • Check short answer, date, and time inputs for proper value persistence.
  • Verify that single choice (dropdown and radio) selections remain when returning to a question.
  • Verify that slider/cursor values persist when navigating back and forth.

Issue ticket number and link

FOR-865

Checklist before requesting a review (magic string, indentation, comment/documentation...)

  • I have detailed the tests to do in my feature/fix in order to prevent consequents regressions (must specify in Checklist tests)
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (API Doc etc...) - (must specify in Description for target version)
  • If it is a consequent feature, I have added thorough tests.
  • I have added tests that prove my fix is effective or that my feature works
  • Any dependent changes have been added to this project (must specify in Description)

@niko-amosse niko-amosse merged commit 050ffd0 into dev-react-preview Jan 7, 2026
3 of 4 checks passed
@niko-amosse niko-amosse deleted the FOR-865 branch January 7, 2026 14:11
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.

3 participants