diff --git a/blocks/form/components/wizard/wizard.js b/blocks/form/components/wizard/wizard.js index e186db9373..ffb1512da6 100644 --- a/blocks/form/components/wizard/wizard.js +++ b/blocks/form/components/wizard/wizard.js @@ -169,12 +169,12 @@ export class WizardLayout { const resetBtn = panel.querySelector('.reset-wrapper'); if (resetBtn) { - wrapper.append(resetBtn); + panel.append(resetBtn); } const submitBtn = panel.querySelector('.submit-wrapper'); if (submitBtn) { - wrapper.append(submitBtn); + panel.append(submitBtn); } this.assignIndexToSteps(panel); panel.append(wrapper); diff --git a/test/unit/fixtures/form/claim.html b/test/unit/fixtures/form/claim.html index bd781b9191..bd1d2fb7c9 100644 --- a/test/unit/fixtures/form/claim.html +++ b/test/unit/fixtures/form/claim.html @@ -309,12 +309,12 @@
+
+
-
-
\ No newline at end of file diff --git a/test/unit/fixtures/form/docBasedWizardForm.html b/test/unit/fixtures/form/docBasedWizardForm.html index 4073c3d3b7..f1abb5f7fd 100644 --- a/test/unit/fixtures/form/docBasedWizardForm.html +++ b/test/unit/fixtures/form/docBasedWizardForm.html @@ -38,10 +38,10 @@
+
-