Javascript – on submit I am getting only last array of object not complete data
I am displaying data fetched from API in table, which has inputs as fields to edit the data. It has multiple data records fetched via API , post changes of the record I want to update the changes done by…