As a user, if I happen to hard refresh on an array route, it shouldn't wipe out all of the work I've done by overwriting my in-progress form with an empty one.
Note, the repro doesn't happen immediately if access expired, so either repro quickly or get yourself back to the point right before the issue manually.
Acceptance criteria
Shouldn't wipe out all of the work I've done by overwriting my in-progress form with an empty one.
User story(ies)
As a user, if I happen to hard refresh on an array route, it shouldn't wipe out all of the work I've done by overwriting my in-progress form with an empty one.
Steps to reproduce
Navigate to
Simple Forms Patterns Examples
here: http://localhost:3001/mock-simple-forms-patternsSign in
Click "Start application"
Use dev route component to go to
/text-input
Fill out the required fields there
Use dev route component to go to
/array-multiple-page-builder
Continue and fill out 1 employer and observe save-in-progress form update that includes data from the two sections we've worked on so far
Hard refresh and observe save-in-progress form updated to be empty
Additional details/notes/links
Hard refresh for one of these array pages seems to want on mount to set some form data with a default state so that something else doesn't blow up which then gets auto saved. But setting form state is done wholesale and we haven't pulled down an in progress form into the client form state yet at this point so we replace and autosave everything with emptiness.
Note, the repro doesn't happen immediately if access expired, so either repro quickly or get yourself back to the point right before the issue manually.
Acceptance criteria
Shouldn't wipe out all of the work I've done by overwriting my in-progress form with an empty one.
Point(s) of contact
N/A
What type of issue is this?
How to configure this issue