From 36b5f74414413e7270d47f52df387697698aeeaf Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Tue, 4 Oct 2022 22:31:35 +0200 Subject: Add pagination --- components/ModelForm.vue | 2 ++ 1 file changed, 2 insertions(+) (limited to 'components/ModelForm.vue') 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(); }, -- cgit v1.2.3-18-g5258