fix: stop validation when click pervious btn
This commit is contained in:
parent
091e12324e
commit
e934fe2782
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue