From bcad323733af70a5090949f719487b4162103c10 Mon Sep 17 00:00:00 2001 From: Kelvin Oghenerhoro Omereshone Date: Thu, 22 Feb 2024 07:33:40 +0100 Subject: [PATCH] feat(mellow-vue): display validation errors --- templates/mellow-vue/assets/js/pages/signup.vue | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/templates/mellow-vue/assets/js/pages/signup.vue b/templates/mellow-vue/assets/js/pages/signup.vue index b9293432..dc80845b 100644 --- a/templates/mellow-vue/assets/js/pages/signup.vue +++ b/templates/mellow-vue/assets/js/pages/signup.vue @@ -64,6 +64,12 @@ const disableSignupButton = computed(() => { Welcome! Please enter your details to sign up

+

+ {{ form.errors?.signup }} +

{ class="block w-full rounded-lg border border-gray/50 bg-white py-3 pl-10 pr-3 shadow-sm placeholder:text-lg placeholder:text-gray focus:outline-none focus:ring-1 focus:ring-gray-100" v-model="form.fullName" /> +

+ {{ form.errors.fullName }} +