Here's my [fiddle](https://jsfiddle.net/baibai/yrL730x8/1/)

```
data: {
address_components: [
    { id:1, city_id:1, area_id: 100}
],
city_id:0,
area_id:0,
sort:1

```

},

I need to pass data to existing row, is that incorrect?

And if I add a new row, the id should be '2'

[like this](https://i.stack.imgur.com/VlziK.jpg)

what is the good way to do this? :'-(