79564293

Date: 2025-04-09 12:10:52
Score: 2
Natty:
Report link

For some reason, still not clear to me, calling resetFieldsChanged in the onSubmit event doesn't work as expected. I tried to call it in a useEffect hook that gets executed every time the form state change, and now it works as expected!

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: VdfX89