@wildwinter/expr-editor 0.13.0 → 0.13.1

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.
package/dist/index.js CHANGED
@@ -1543,6 +1543,11 @@ function mountEffectsEditor(host, opts) {
1543
1543
  scopeOrder: opts.scopeOrder,
1544
1544
  functions: opts.functions,
1545
1545
  mode: "flat",
1546
+ // Every editor here holds a VALUE (a set's value, an emit's argument), never a condition. Say
1547
+ // so, or emptying one falls back to the condition empty state and an outcome row reads
1548
+ // "always / + Add your first condition" - condition vocabulary, offering clauses where a value
1549
+ // belongs, and no way back to a value. `valueField` renders an editable empty literal instead.
1550
+ valueField: true,
1546
1551
  ...addTerm ? { addTerm } : {},
1547
1552
  ...selfAdvanceRef ? { selfAdvanceRef } : {},
1548
1553
  ...opts.popoverContainer ? { popoverContainer: opts.popoverContainer } : {},