form reverts to browser default validation upon submit
jmjpro opened this issue · comments
Joshua Jacobson commented
I forced a validation error by adding a price greater than 100. I saw the custom validation error. Cool. Then I submitted the form with the price still greater than 100. I also got a validation error. Cool. What's not cool is that the validation error from the submission was a browser default validation error instead of a custom error.
Jonny Buchanan commented
Looks like we should enhance the client version adding novalidate
on the <form>
when the component mounts.
Jonny Buchanan commented
Fixed in 1bdf9a2 and deployed