Closed maximiliangustmann closed 4 years ago
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/maximiliangustmann/capstone-project/dy39ch1ef
✅ Preview: https://capstone-project-git-editreviews.maximiliangustmann.vercel.app
QA: ✅ Editing works great 🚀
But the user can still bypass the form validation by entering a single space. You could add a pattern to the ref properties in your text inputs like this:
ref={register({ required: true, pattern: /.*\S.*/ })}
Added a button to edit the created reviews. Looking forward to get some feedback.