Open djmtype opened 2 months ago
I added more validation on server-side so the form wouldn't be submitted with empty fields. But, was curious why errors were being logged to the browser upon submission. Most likely, it's a me-error.
Definitely sounds like a bug. I'm kinda crazy busy with work at the moment but I'll mark this as a bug and try and review it soon.
I have a 2 forms on the same page, so I need to use the prefix. Using Alpine with Astro BTW. Problem is when I submit the form, I get to errors logged to the console for my fields by this plugin. Is that normal?
Upon hitting the submit button with my fields empty, I get errors logged to the console like
firstname required
andemail required
. Yet my form is processed successfully, and shouldn't be.Here's my code: