@colijnit/corecomponents_v12 256.1.12 → 256.1.13
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/colijnit-corecomponents_v12.umd.js +4 -6
- package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -1
- package/esm2015/lib/components/input-search/input-search.component.js +5 -7
- package/fesm2015/colijnit-corecomponents_v12.js +4 -6
- package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
- package/package.json +1 -1
|
@@ -8270,12 +8270,10 @@
|
|
|
8270
8270
|
return true;
|
|
8271
8271
|
};
|
|
8272
8272
|
InputSearchComponent.prototype.handleKeyDown = function (event) {
|
|
8273
|
-
|
|
8274
|
-
|
|
8275
|
-
|
|
8276
|
-
|
|
8277
|
-
this.search.next(this.model);
|
|
8278
|
-
return;
|
|
8273
|
+
var enterKeys = ['Enter', 'NumpadEnter', 'Go'];
|
|
8274
|
+
if (enterKeys.includes(event.key)) {
|
|
8275
|
+
event.preventDefault();
|
|
8276
|
+
this.search.next(this.model);
|
|
8279
8277
|
}
|
|
8280
8278
|
};
|
|
8281
8279
|
InputSearchComponent.prototype.handleModelChange = function (model) {
|