@stemy/ngx-utils 19.7.25 → 19.7.26
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.
|
@@ -7320,10 +7320,10 @@ class ChipsComponent {
|
|
|
7320
7320
|
}
|
|
7321
7321
|
return false;
|
|
7322
7322
|
}
|
|
7323
|
-
if (ev.key
|
|
7323
|
+
if (ev.key === "Enter" || ev.key === "Tab") {
|
|
7324
7324
|
return this.enterOption(input.value);
|
|
7325
7325
|
}
|
|
7326
|
-
if (ev.key
|
|
7326
|
+
if (ev.key === "Backspace" && !input.value && !changed && this.valueOptions.length > 0) {
|
|
7327
7327
|
this.makeUndo();
|
|
7328
7328
|
this.updateValues(this.valueOptions.slice(0, this.valueOptions.length - 1));
|
|
7329
7329
|
this.onTouched(this.value);
|