@fw-components/formula-editor 2.3.2-formula-editor-regex-fix.1 → 2.3.2-formula-editor-regex-fix.2

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.
@@ -124,6 +124,10 @@ let FormulaEditor = class FormulaEditor extends LitElement {
124
124
  const direction = event.code === "ArrowDown" ? "down" : "up";
125
125
  this.suggestionMenu.navigate(direction);
126
126
  }
127
+ else if (event.code === "Enter") {
128
+ event.preventDefault();
129
+ this.suggestionMenu.handleRecommendationSelect();
130
+ }
127
131
  }
128
132
  render() {
129
133
  return html `
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fw-components/formula-editor",
3
- "version": "2.3.2-formula-editor-regex-fix.1",
3
+ "version": "2.3.2-formula-editor-regex-fix.2",
4
4
  "description": "A WYSIWYG type formula editor",
5
5
  "main": "dist/formula-editor/src/formula-editor.js",
6
6
  "exports": {
@@ -31,5 +31,5 @@
31
31
  "@types/big.js": "^6.1.6",
32
32
  "es-dev-server": "^2.1.0"
33
33
  },
34
- "gitHead": "0bd51838c74b79e3909b2380ce28fc188c20a420"
34
+ "gitHead": "fb17b066967ce635a10d7b4da333c9c35f11602c"
35
35
  }