Help with react-hook-forms form

I have this section of the app where I add food businesses, I'll be very brief, I select a business from the left side(pic1), press edit(pic2), then press save(pic3) and what I get is all error messages are being displayed, very weird situation. The logic works, it will edit or delete, but it requires me to press save and it goes input by input verifying then finally save..
No description
No description
No description
1 Reply
K1|ller
K1|llerOP13mo ago
ok I think I fixed it, I was adding key but i was still repeating them, now works fine (i have multiple forms with same register names)
Want results from more Discord servers?
Add your server