@fw-components/formula-editor 2.0.7-formula-editor.11 → 2.0.7-formula-editor.12

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.
@@ -176,6 +176,10 @@ let FormulaEditor = class FormulaEditor extends LitElement {
176
176
  this._recommendations = Array.from(this.variables.keys());
177
177
  }
178
178
  }
179
+ if (_changedProperties.has("variables")) {
180
+ this._parser = new Parser(this.variables, this.minSuggestionLen);
181
+ this.parseInput(null, false);
182
+ }
179
183
  }
180
184
  handleFocusOut(e) {
181
185
  this._recommendations = null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fw-components/formula-editor",
3
- "version": "2.0.7-formula-editor.11",
3
+ "version": "2.0.7-formula-editor.12",
4
4
  "description": "A WYSIWYG type formula editor",
5
5
  "main": "dist/formula-editor/src/formula-builder.js",
6
6
  "publishConfig": {
@@ -25,5 +25,5 @@
25
25
  "@types/big.js": "^6.1.6",
26
26
  "es-dev-server": "^2.1.0"
27
27
  },
28
- "gitHead": "8f3f50748f055ca017d8ff6f5ac946b8949825e5"
28
+ "gitHead": "e4017600c11247faaed1b4cd6bad02bb86cad278"
29
29
  }