summaryrefslogtreecommitdiff
path: root/components/ModelForm.vue
diff options
context:
space:
mode:
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();
},