I have created a dynamic form field application where one can add or delete rows dynamically . Everything works fine but when i try to delete rows when they are >=3 , always the last row is being deleted .
I tried debugging the app , it receiveds the right index for deleting , but still it deletes the last row always .
As in the below image it can be seen there are 3 rows , i am trying trying to delete the row with index 1 , but still the row with index 2 gets deleted .
Any guidance appreciated . thanks in advance