If you edit more than one row with inline edit and try to submit/cancel any row, then the last row always gets submitted/cancelled. This happens because there are multiple hidden inputs inline_edit[_id] and HTML only takes the last of these as a value and that causes the form to submit with the last input value.
This works on the demo as well.
One possible solution could be to allow editing only one row at a time, which seems inconvenient for the users. Another solution could be to use separate forms for each row.
Excuse the anomalies, I recorded it on Windows
https://github.com/user-attachments/assets/42e30fa1-de3f-4d52-9747-32a07e7a9e40