Hi i got a table where user may change product quantities
like this:
action when click save
but, when i change both rows and press save changes button it only updates one row, is this normal?
thank you
Hi i got a table where user may change product quantities
like this:
action when click save
but, when i change both rows and press save changes button it only updates one row, is this normal?
thank you
recordUpdates is an array, and you're only passing the first index 0.
You'll need to do a Javascript query and iterate through the array to run your update query for each item in the array.
Similar to: