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 1f1a4ed commit 6f823c5Copy full SHA for 6f823c5
src/assets/src/js/jquery.multipleInput.js
@@ -61,6 +61,7 @@
61
clearInterval(intervalID);
62
}
63
}, 100);
64
+ wrapper.trigger('init');
65
66
},
67
@@ -93,16 +94,19 @@
93
94
});
95
96
wrapper.data('multipleInput').currentIndex++;
97
+ wrapper.trigger('addNewRow');
98
99
100
removeInput: function () {
- var line = $(this).closest('.multiple-input-list__item');
101
+ var wrapper = $(this).closest('.multiple-input').first(),
102
+ line = $(this).closest('.multiple-input-list__item');
103
line.find('input, select, textarea').each(function () {
104
methods.removeAttribute.apply(this);
105
106
line.fadeOut(300, function () {
107
$(this).remove();
108
109
+ wrapper.trigger('removeRow');
110
111
112
addAttribute: function () {
0 commit comments