DEV Community

loading...

Discussion on: [Solved]Data is sending even if validation requirements are not valid, whats the best way to approach this?

Collapse
andrpaul profile image
AndrPaul Author

Thank you, since I posted this issue I switched to "react-hook-form" which worked like a charm, but I can see was wrong here, and used toastr to display my success message as you said and that saved me a lot of time.

Forem Open with the Forem app