Exploring Angular for the first time has been quite a journey. I've delved into this, this, and this question in depth, but none of them quite fit my needs as they rely heavily on jquery
. My form is a straightforward registration form comprising only four basic fields: Username, password, confirm password, zipcode, and a submit button. To maintain clarity, I have uploaded the necessary files to GitHub.
I've implemented validators for password
and zipcode
separately in
The validations are indeed functioning correctly. However, the issue lies in the fact that the form is still submitting even when there are validation errors on the frontend. Attached is a screenshot highlighting this concern. Any recommendations or hints would be greatly appreciated.
PS: I'm currently following along with this YouTube tutorial.