summaryrefslogtreecommitdiff
path: root/components/ModelForm.vue
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-10-04 22:31:35 +0200
committerSanto Cariotti <santo@dcariotti.me>2022-10-04 22:31:35 +0200
commit36b5f74414413e7270d47f52df387697698aeeaf (patch)
tree050fc93827ca595a198bb2618dd817eeac845423 /components/ModelForm.vue
parent8806bb5f857502eec2ad9132757458d714fff442 (diff)
Add pagination
Diffstat (limited to 'components/ModelForm.vue')
-rw-r--r--components/ModelForm.vue2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/ModelForm.vue b/components/ModelForm.vue
index d59a5ae..f7b622c 100644
--- a/components/ModelForm.vue
+++ b/components/ModelForm.vue
@@ -248,6 +248,8 @@ export default {
this.$toast.error(response.data.error);
}
});
+ } else {
+ this.$toast.error("Fill all the required fields");
}
event.preventDefault();
},