@colijnit/corecomponents_v12 257.1.1 → 257.1.11

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.
@@ -8270,12 +8270,10 @@
8270
8270
  return true;
8271
8271
  };
8272
8272
  InputSearchComponent.prototype.handleKeyDown = function (event) {
8273
- switch (event.code) {
8274
- case 'Enter':
8275
- case 'NumpadEnter':
8276
- event.preventDefault();
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) {