We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f566c07 commit d7b5552Copy full SHA for d7b5552
src/input-tags.component.js
@@ -59,15 +59,21 @@ class InputTags {
59
}
60
61
removeTag(tag) {
62
+
63
+ if (this.onTagRemoving) {
64
+ this.onTagRemoving(tag);
65
+ }
66
67
for (let i = this.tags.length - 1; i >= 0; i--) {
68
if (this.tags[i].code === tag.code) {
69
this.tags.splice(i, 1);
70
71
72
- if (this.onTagRemoving) {
- this.onTagRemoving(tag);
73
+ if (this.onTagRemoved) {
74
+ this.onTagRemoved(tag);
75
76
77
return tag;
78
79
@@ -106,6 +112,7 @@ const InputTagsComponent = {
106
112
onTagAdded: '<',
107
113
onTagAddFailed: '<',
108
114
onTagRemoving: '<',
115
+ onTagRemoved: '<',
109
116
onTagClicked: '<'
110
117
111
118
};
0 commit comments