Now that is is deleted, in the actual array, it works correctly as it removes the record at index 1, but for some reason, in the UI it always just deletes the last record.
Might it be that instead of item.index, you’re passing the whole object? Also, in WeWeb (as in JavaScript) the item number one (the first one in an array) actually has the index of 0 (not 1 - that’s the second item in an array).
If the Action you’re using, is bound to the trashcan icon, and that triggers the delete (remove at index), then you need to pass only the item.index (instead of item.data).
Ah yes, sorry it was originally on index, but was testing with item.data to see if it helped. Anyways, the issue is when the same when set to item.index.
Yup, you need to actually bind the init value to the value of your data. Now WeWeb doesn’t know what to put in there, as you’ve not specifically told it, so it just takes whatever was there.