bpmn-io / dmn-js

View and edit DMN diagrams in the browser.
https://bpmn.io/toolkit/dmn-js/
Other
288 stars 137 forks source link

Parse decision table inputs as unary tests #880

Open barmac opened 2 months ago

barmac commented 2 months ago

Describe the Bug

Currently, the decision table parses input cells values as expressions. This leads to misleading syntax errors as in the screenshot below:

image

Steps to Reproduce

Pass unary tests separated by comma to the input cell.

Expected Behavior

Should be parsed as Unary Test.

Context

Reported via https://camunda.slack.com/archives/C0693F1NFK5/p1717418704931359

Ideally, this should be configurable in the feel-editor

nikku commented 2 months ago

Upstream fix pending integration: https://github.com/bpmn-io/feel-editor/pull/53.