Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

All comments

  • P

    @KseniiaErnest

    Submitted

    Hello Frontend Community! I believe that I've completed all the essential parts of the challenge. However, when incorrect input data is submitted, and an error or errors are triggered, the input data gets cleared. According to the challenge's instructions (error handling slides), incorrect data should remain present in the input fields. I think the solution should not be that difficult, but I cannot see it. Of course, I will check the solutions here and probably find it pretty quickly, but I would still appreciate feedback. :)

    @viniciuspmacedo

    Posted

    Hello! In the "AgeInputForm" you can put a checking before you clean the inputs.

    // Clear input values after successful submission
        if (setDayError === "" && setMonthError === "" && setYearError === "") {
          setDay("");
          setMonth("");
          setYear("");
        }
    

    Marked as helpful

    1