-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Indicate JSON errors in the input data #20
Labels
enhancement
New feature or request
Comments
One simple thing we can do is use the linting capabilities of the
That's anyway something that would need to be fixed in the Desktop Modeler directly. What can help here is to fire an event once a parsing error happens. formPlayground.on('formPlayground.inputDataError', function(error) {
// do stuff, e.g. display in problems panel
}); |
I sketched that via bpmn-io/form-js#386 |
pinussilvestrus
pushed a commit
to bpmn-io/form-js
that referenced
this issue
Nov 7, 2022
pinussilvestrus
pushed a commit
to bpmn-io/form-js
that referenced
this issue
Nov 7, 2022
pinussilvestrus
pushed a commit
to bpmn-io/form-js
that referenced
this issue
Nov 7, 2022
pinussilvestrus
pushed a commit
to bpmn-io/form-js
that referenced
this issue
Nov 14, 2022
pinussilvestrus
added
fixed upstream
Requires integration of upstream change
and removed
in progress
Currently worked on
labels
Nov 14, 2022
philippfromme
added a commit
to camunda/camunda-modeler
that referenced
this issue
Jan 3, 2023
Closes #3327 Closes #2304 Closes camunda/form-playground#20 Closes #3321
philippfromme
added a commit
to camunda/camunda-modeler
that referenced
this issue
Jan 4, 2023
Closes #3327 Closes #2304 Closes camunda/form-playground#20 Closes #3321
philippfromme
added a commit
to camunda/camunda-modeler
that referenced
this issue
Jan 4, 2023
Closes #3327 Closes #2304 Closes camunda/form-playground#20 Closes #3321
bpmn-io-tasks
bot
removed
the
fixed upstream
Requires integration of upstream change
label
Jan 4, 2023
lzgabel
pushed a commit
to lzgabel/camunda-modeler
that referenced
this issue
Apr 4, 2023
Closes camunda#3327 Closes camunda#2304 Closes camunda/form-playground#20 Closes camunda#3321
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
When the form mock input data is invalid, the form rendering stops, but there is no indicator of that error. Users might think the error is in the form, rather than in the input json.
Describe the solution you'd like
We should indicate it in the problems panel, as well as highlight the error in the json panel.
Describe alternatives you've considered
Show an error in the form preview itself, since users may spend their attention into this window. But this may result in too much flickering of the preview window.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: