ps-toolkit-ui 1.6.56 → 1.6.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/ps-toolkit-ui.umd.js +2 -1
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/components/form/tag/form.tag.component.js +3 -2
- package/fesm2015/ps-toolkit-ui.js +2 -1
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -7486,14 +7486,15 @@
|
|
|
7486
7486
|
e.preventDefault();
|
|
7487
7487
|
if (v.val() !== '') {
|
|
7488
7488
|
this.inp.value = this.inp.value.concat(v.val().toString().split(/[, ]/).filter(function (x) { return x !== '' && !_this.inp.value.includes(x); }));
|
|
7489
|
+
v.val('');
|
|
7489
7490
|
}
|
|
7490
7491
|
this.changeIndex.emit(code === 9 ? e.shiftKey ? 'ShiftTab' : 'Tab' : e.shiftKey ? 'ShiftEnter' : 'Enter');
|
|
7491
7492
|
}
|
|
7492
7493
|
else if (code === 13) {
|
|
7493
7494
|
if (v.val() !== '') {
|
|
7494
7495
|
this.inp.value = this.inp.value.concat(v.val().toString().split(/[, ]/).filter(function (x) { return x !== '' && !_this.inp.value.includes(x); }));
|
|
7496
|
+
v.val('');
|
|
7495
7497
|
}
|
|
7496
|
-
v.val('');
|
|
7497
7498
|
}
|
|
7498
7499
|
else if (code === 8) {
|
|
7499
7500
|
if (v.val() === '') {
|