From e934fe27824dfe34bf9451a775e2fbcbe3586739 Mon Sep 17 00:00:00 2001 From: "Abdallah A. Zaqout" <26047413+zaqoutabed@users.noreply.github.com> Date: Sun, 23 Nov 2025 14:09:58 +0300 Subject: [PATCH] fix: stop validation when click pervious btn --- frappe/public/js/frappe/web_form/web_form.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frappe/public/js/frappe/web_form/web_form.js b/frappe/public/js/frappe/web_form/web_form.js index 5ee2c22128..71b167e065 100644 --- a/frappe/public/js/frappe/web_form/web_form.js +++ b/frappe/public/js/frappe/web_form/web_form.js @@ -103,9 +103,9 @@ export default class WebForm extends frappe.ui.FieldGroup { $(".web-form-footer .left-area").prepend(this.$previous_button); this.$previous_button.on("click", () => { - let is_validated = me.validate_section(); + // let is_validated = me.validate_section(); - if (!is_validated) return false; + // if (!is_validated) return false; /** The eslint utility cannot figure out if this is an infinite loop in backwards and