Skip to content

Commit 0277e1d

Browse files
authored
Merge pull request #105 from episerver/bugfix/AFORM-3994-fix-wrong-submit-behaviour
Fix wrong behavior after user click cancel on confirm message
2 parents 044422b + c0924e2 commit 0277e1d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/@episerver/forms-react/src/components/FormBody.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ export const FormBody = (props: FormBodyProps) => {
118118
// Confirm if user want to submit the form
119119
if (!isNull(submitButton) || isLastStep) {
120120
if (!handleConfirm()) {
121+
isProgressiveSubmit.current = false
121122
return
122123
}
123124
}

0 commit comments

Comments
 (0)