Design comparison
SolutionDesign
Solution retrospective
Hello, I would like a global opinion on my realization.
I have a problem with the "Number of people" input, when I reset the form, it does not update when I enter a new number.
If you have any suggestions for improvement, don't hesitate.
Thank you in advance for your feedback!
Community feedback
- @NinjaAniketPosted almost 3 years ago
Hi, That's because on reset your setting the value of nbPeople to 0; And you have a condition if value of nbPeople is 0 then throw the validation error.
Marked as helpful0@LucasTamayaPosted almost 3 years ago@NinjaAniket hi, thank you for your advice, I'll try to fix it.
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord