Open sashayar13 opened 4 months ago
@madhurrya would you please check if this is an issue as described.
@calexh-sar I tested by copy pasting some sample forms I had and they show the preview as expected.
But if I copy a complex form containing variables etc then it can show an error if that info is not in the task data. Even if I set it in task data, the preview shows the same error. But if I run the process it works fine. So for the forms using task data this issue is there.
I think it'll be good to fix this
When working on a new form as part of an user task, if we want to upload (copy/paste) the JSON without using the Form builder, then we cannot see the graphical representation of the fields in the Form Preview.
— Make the form editor work from the files menu on the main process instance page
See https://dev.app.spiff.status.im/process-models/manage-procurement:vendor-lifecycle-management:vendor-onboarding:vendor-onboarding/form/Vendor data form-schema.json
created on behalf of @MarD0607
related to https://github.com/sartography/bpmn-js-spiffworkflow/issues/77