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