@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.
@@ -481,6 +481,9 @@ let MultiColumnComboBox = class MultiColumnComboBox extends Component {
481
481
  if (args.key === 'Enter') {
482
482
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
483
483
  args.cancel = true;
484
+ if (!isNullOrUndefined(this.element.closest('form'))) {
485
+ args.preventDefault();
486
+ }
484
487
  if (this.isPopupOpen) {
485
488
  this.selectedGridRow(this.gridObj.getRows()[this.gridObj.selectedRowIndex], args, true);
486
489
  this.hidePopup(args);
@@ -1348,7 +1351,7 @@ let MultiColumnComboBox = class MultiColumnComboBox extends Component {
1348
1351
  this.isProtectedOnChange = prevOnChange;
1349
1352
  }
1350
1353
  else {
1351
- if (this.isDataFiltered) {
1354
+ if (this.isDataFiltered && !(e.code === 'Enter' && this.value)) {
1352
1355
  this.inputEle.value = '';
1353
1356
  const ChangeEventArgs = {
1354
1357
  value: null,
@@ -1416,7 +1419,10 @@ let MultiColumnComboBox = class MultiColumnComboBox extends Component {
1416
1419
  this.updateSelectedItem(e, true, true);
1417
1420
  break;
1418
1421
  case 'enter':
1419
- this.updateValuesOnInput(null, e, false, true);
1422
+ if (!(this.dataSource instanceof DataManager) || (this.matchedContent && this.isPopupOpen) || this.inputEle.value) {
1423
+ this.updateValuesOnInput(null, e, false, true);
1424
+ }
1425
+ this.hidePopup(e);
1420
1426
  this.focusIn(e);
1421
1427
  break;
1422
1428
  case 'home':