Skip to content

Commit

Permalink
Fix flash of required
Browse files Browse the repository at this point in the history
  • Loading branch information
caleeli committed Mar 5, 2024
1 parent dd4ee6e commit 4f491d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/vue-form-builder.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1148,9 +1148,9 @@ export default {
this.updateState();
},
addPage(e) {
this.showAddPageValidations = true;
const error = this.checkPageName(this.addPageName, true);
if (error) {
this.showAddPageValidations = true;
e.preventDefault();
return;
}
Expand Down

0 comments on commit 4f491d3

Please sign in to comment.