My application is used to calculate the household budget. I encountered the following problem.
At first, I entered a few items into the list
enter image description here
I clicked the edit button to change the first item
enter image description here
enter image description here
after saving the changes i did exactly the same for the second item
enter image description here
enter image description here
At the end you can see how both items from the list changed their name and value.
I wonder what the problem could be because each element when added also receives a unique ID that does not change. Please help 😀
I tried to check if it is changed when clicking the Save button, but it works fine anyway. I don’t know what else I can check
2
Answers
You need to find row index when submitting a form.
Then you can change values using a row index
Example: