@syncfusion/ej2-multicolumn-combobox 34.1.29 → 34.1.32

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.
@@ -540,6 +540,9 @@ var MultiColumnComboBox = /** @__PURE__ @class */ (function (_super) {
540
540
  if (args.key === 'Enter') {
541
541
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
542
542
  args.cancel = true;
543
+ if (!isNullOrUndefined(this.element.closest('form'))) {
544
+ args.preventDefault();
545
+ }
543
546
  if (this.isPopupOpen) {
544
547
  this.selectedGridRow(this.gridObj.getRows()[this.gridObj.selectedRowIndex], args, true);
545
548
  this.hidePopup(args);
@@ -1423,7 +1426,7 @@ var MultiColumnComboBox = /** @__PURE__ @class */ (function (_super) {
1423
1426
  this.isProtectedOnChange = prevOnChange;
1424
1427
  }
1425
1428
  else {
1426
- if (this.isDataFiltered) {
1429
+ if (this.isDataFiltered && !(e.code === 'Enter' && this.value)) {
1427
1430
  this.inputEle.value = '';
1428
1431
  var ChangeEventArgs = {
1429
1432
  value: null,
@@ -1491,7 +1494,10 @@ var MultiColumnComboBox = /** @__PURE__ @class */ (function (_super) {
1491
1494
  this.updateSelectedItem(e, true, true);
1492
1495
  break;
1493
1496
  case 'enter':
1494
- this.updateValuesOnInput(null, e, false, true);
1497
+ if (!(this.dataSource instanceof DataManager) || (this.matchedContent && this.isPopupOpen) || this.inputEle.value) {
1498
+ this.updateValuesOnInput(null, e, false, true);
1499
+ }
1500
+ this.hidePopup(e);
1495
1501
  this.focusIn(e);
1496
1502
  break;
1497
1503
  case 'home':