From 608142665795a41af0e7e5e52ce2a5f53b16ee47 Mon Sep 17 00:00:00 2001 From: Brian S <27040828+naiyume@users.noreply.github.com> Date: Fri, 1 Jul 2022 09:44:50 -0400 Subject: [PATCH] making sure that form data is being erased properly when hhitting previous" --- replace2.js | 1 + 1 file changed, 1 insertion(+) diff --git a/replace2.js b/replace2.js index 02c865a..d0a197d 100644 --- a/replace2.js +++ b/replace2.js @@ -1102,6 +1102,7 @@ export function stopSubmit(event) { if (event.target.clickType == "BACK") { resetChildren(event.target.elements); + event.target.value = undefined; let buttonClicked = event.target.getElementsByClassName("previous")[0]; previousClicked(buttonClicked, moduleParams.renderObj.retrieve, moduleParams.renderObj.store, rootElement); } else if (event.target.clickType == "RESET ANSWER") {