Merge pull request #34846 from zaqoutabed/stop-validation-on-click-previous
fix: stop validation when click pervious btn
This commit is contained in:
commit
9544593caa
1 changed files with 0 additions and 4 deletions
|
|
@ -103,10 +103,6 @@ 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();
|
||||
|
||||
if (!is_validated) return false;
|
||||
|
||||
/**
|
||||
The eslint utility cannot figure out if this is an infinite loop in backwards and
|
||||
throws an error. Disabling for-direction just for this section.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue