I'm working on a "ticket" system for our techs. I'm trying to build a dynamic input form solution, where you could press a button and it would add a field. I am having issues with sending data with POST, I've tried naming them as arrays but I have them double nested. FORM ENTRY (company name, date) - location1 +Device1id +Device2id -location2 Etc.
— But you don't have to double nest them in req.body.
— Someone help me out on this error
— Please share your code
— Please no🤤
— So what's up man, solved that function?
— Great, i knew you can
— The approach is still very inefficient. I'll fix it later
— Any approach has downsides
— But we gotta ignore the downsides if we really want to take them in use.