[Vuejs]-Unable to proceed to next steps when form is empty

-1👍

checkSteps1() {
  this.form.validateFields((error) => {
    if (error) {
      return;
    }
    if (!error) {
      this.current += 1;
    }
  });
},

this is my working answer where i using if else statement to validates my form

Leave a comment