when you create 3 rows i.e. `input-name[0]` `input-name[1]` `input-name[2]` and then when you remove row at index 1, it will become `input-name[0]` `input-name[2]` It should re index them.