vitalets / angular-xeditable

Edit in place for AngularJS
http://vitalets.github.io/angular-xeditable
MIT License
1.91k stars 403 forks source link

x-editable ngTagsInput modifies the model on form blur/cancel. #617

Closed xmaster484 closed 7 years ago

xmaster484 commented 7 years ago

Hi I was wondering if there was any way to stop the tagInputBox from changing the model of tag array if the user would press cancel. I want it to be such that any tag added in the current x-editable form would be removed but the ones that were there previously would stay. Even on the demo on the main site, the ng-tagsinput xeditable box saves the new tag to the tag model array.

Anyway to work around this?