Open bravility opened 7 years ago
You have to remove the item that was added to the array when you click add row
.
There is an example in editable-table
@bravility can this be closed now?
@ckosloski To some extent, yes. But I would rather use Editable row than Editable table, can I fix it in Editable row? instead of use Editable table
All you need to do is call a function on cancel that removes the last item in your list
$scope.movieCharacterModel.characters.splice(index, 1);
why $cancel() will add a new row,how to cancel it?
demo: http://vitalets.github.io/angular-xeditable/#editable-row