maximiliangustmann / MINDPING

https://capstone-project-ashy.vercel.app
0 stars 0 forks source link

Edit reviews #18

Closed maximiliangustmann closed 4 years ago

maximiliangustmann commented 4 years ago

Added a button to edit the created reviews. Looking forward to get some feedback.

vercel[bot] commented 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

carolinwagner commented 4 years ago

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.*/ })}