Closed EricCpy closed 2 months ago
I cannot reproduce this issue. Did you double-click the table header?
https://github.com/user-attachments/assets/c972ecaa-fe58-43ae-8661-cfad15a5a3d7
Could you please try the following steps in this order:
If I follow your order and fill in the expression first instead of the name, it works for me too.
OK I can reproduce it. Output is not editable again after the exact steps you wrote.
https://github.com/user-attachments/assets/cd6d58ea-9443-4bac-ab63-3bc4a88a093f
Can you reproduce it on https://demo.bpmn.io/dmn?
I cannot reproduce it on demo.bpmn.io.
No, I cannot reproduce the issue in any of your online examples.
Can you reproduce it when you run npm start
in dmn-js repository? I cannot.
I cannot reproduce it when I run npm start
in the dmn-js repository.
I rebuilt the bundling example with modeler, and so far this is the only setup in which I can reproduce this issue: https://github.com/bpmn-io/dmn-js-examples/pull/30
@jarekdanielak to have a look
I can reproduce the problem in EricCpy/DMN-JS-Bundled and https://github.com/bpmn-io/dmn-js-examples/pull/30.
The problem occurs when you close the Context Menu when Expression field is focused.
In the video below, I cannot change value of season
. Temporary workaround is to unfocus the Expression field before closing the Context Menu. That's why this bug only occurs when you edit column name first and expression second, not the other way around.
https://github.com/user-attachments/assets/bdaa3c03-d766-4917-b98d-970f1e4e4b14
By the way, you won't have to use NODE_OPTIONS=--openssl-legacy-provider
if you update webpack
to the latest version. I updated it for the dmn-js-examples
in https://github.com/bpmn-io/dmn-js-examples/pull/31.
@EricCpy the issue seems to be buried somewhere in the dependencies of dmn-js. If you want to continue debugging, I can suggest to start with ContentEditable
from bpmn-io/dmn-js and FeelEditor
from bpmn-io/feel-editor.
Everything works fine with the pre-packaged version of dmn-js Modeler.
I will move this issue into the backlog and leave it open in case anybody comes back with a similar problem or a solution.
Working with dmn-js 16.7.0 and Chrome version 128.0.6613.114.
Describe the Bug
When creating a new Decision Table, it is not possible to fill in all column names and expression names. Additionally, after editing an expression name in an existing Decision Table, it becomes impossible to edit the column name in another Decision Table.
Steps to Reproduce
First Bug:
npm install
.npm run all
.Second Bug:
Expected Behavior
It should be possible to fill in all column names and expressions before creating the first row. Additionally, editing a column expression in one Decision Table should not prevent editing column names in other Decision Tables.
Environment
NODE_OPTIONS=--openssl-legacy-provider
)