Introducing ReUI:Open-source UI components and apps built with React, Next.js and Tailwind CSS
Browse ReUI

Form Validation on Laravel Metronic 8.2.9 shows error message twice


Hello, I've just followed this guide https://preview.keenthemes.com/laravel/metronic/docs/getting-started to setup my project, everything's working fine it's just that whenever I try to use the login form, the validation messages are showing twice under the input fields e.g "Email is required" is showing twice, password message as well and I think I noticed that the sweetalerts are opening twice but very quickly right after each other. I have tried to debug this many times but I couldn't figure it out. Any help?


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (5)


I am having the same issue, any updates on this? I checked your online demo and it's working fine, but when I follow the setup guide I getting the same issue



I needed a beanie mockup ASAP for a new design, so I decided to give beanie mockup a try. It was the right choice! I found some great options that were quick to edit and customize for my needs. The platform is easy to use and the quality of the models is great. It's a great resource for anyone looking for quality beanie mockups and other accessories for their projects.



Hello @Faizal,

Have run "npm run dev"command still phasing same issue.



Create support ticket for Metornic theme issue:



Subject: Issue with Login and Register Validation in Metronic Theme (Laravel Version)

Hello Support Team,

We purchased the Metronic theme and are using the Laravel version for our project setup. However, we are experiencing an issue where the validation on the login and register screens is firing twice.

We’ve recorded a video demonstrating the issue for your reference. Please review it and let us know how we can resolve this problem.

Video Link: https://www.awesomescreenshot.com/video/35951432?key=7a8756f6a2cdbca3857d8102aa05d823

Looking forward to your assistance.



Hi EmilioW

Could you please try to rebuild the assets? Run command "npm run dev"?

Thanks


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(