cssat / sprout-issues

An issue-only repository for the Sprout data collection platform
https://sproutservices.org
2 stars 1 forks source link

"SAVE" button in CANS-F application turns red and Sprout no longer autosaves #234

Open tinhart opened 3 months ago

tinhart commented 3 months ago

Describe the bug The SAVE button in Sprout CANS-F application can turn red and not autosave anymore (which means the user can't save or download the file). The issue seems to occur if the user goes back to the Face Sheet from another screen, after initially entering 1 or more children or other person info previously in the Face Sheet, to add additional children or people info. For example, user initially enters 3 as the number of children on the Face Sheet, enters information about 1 of the children in the Assessments page but then switches to another page or tab (like returns to the Face Sheet). When the user returns to the Assessments page, they can not save the child information they try to add.

To Reproduce Steps to reproduce the behavior:

  1. see above.

Expected behavior The Sprout CANS-F application should automatically save child/person information whenever it is entered into the forms/pages of the application.

Screenshots See recording of the issue here: https://uwnetid.sharepoint.com/:v:/r/sites/og_cssat/Shared%20Documents/General/Sprout%20related%20development%20(mtg%20notes,%20requirements%20etc.)/CANS-F/Bugs%20and%20problem%20solving/CANS-F%20bug%20-%20SAVE%20button%20turns%20red,%20can%27t%20autosave.mp4?csf=1&web=1&e=k4akDz

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context EXISTING WORKAROUND: This fix may allow the workaround of deleting a child from the array and adding a new one (by reducing the number and then adding one more). See: https://github.com/cssat/sprout-wizard/pull/49/files