bpmn-io / form-js

View and visually edit JSON-based forms.
https://bpmn.io/toolkit/form-js/
Other
419 stars 108 forks source link

how can add a new component package to calendar section? #968

Open moeinparvizi opened 11 months ago

moeinparvizi commented 11 months ago

in datepicker.js from form-js-viewer/src/render/components/form-fields

i want to change calendar to jalali calendar with another package https://www.npmjs.com/package/react-persian-calendar

thanks for helping

this is error

Lerna (powered by Nx) Running target build for 5 projects failed

Tasks not run because their dependencies failed or --nx-bail=true:

ERROR: "build" exited with 1.

Skaiir commented 11 months ago

@moeinparvizi

Hey there.

The error displayed shows that there is an issue with the build. I would need some more information to help you out here. Where's the codebase? What changes did you make? Your linter should be picking up the error somewhere.

moeinparvizi commented 11 months ago

i just want add new package like material ui or other library in to form js project , how cat i ? thanks for reply my comment...

Skaiir commented 10 months ago

@moeinparvizi You may be interested in https://bpmn.io/blog/posts/2023-custom-form-components.html, this will have to be done via a custom component as we do not have plans to change the calendar inside the codebase at the moment.

If you'd like any help with the errors you're getting I'll need to see some code, these are too generic for me to diagnose any issues. Good luck.

Ken-Scofield commented 7 months ago

@moeinparvizi You may be interested in https://bpmn.io/blog/posts/2023-custom-form-components.html, this will have to be done via a custom component as we do not have plans to change the calendar inside the codebase at the moment.

If you'd like any help with the errors you're getting I'll need to see some code, these are too generic for me to diagnose any issues. Good luck.

7777 I've tried custom range exapmle but got this error. how to reslove it?Please help me @Skaiir

Ken-Scofield commented 7 months ago

@moeinparvizi You may be interested in https://bpmn.io/blog/posts/2023-custom-form-components.html, this will have to be done via a custom component as we do not have plans to change the calendar inside the codebase at the moment.

If you'd like any help with the errors you're getting I'll need to see some code, these are too generic for me to diagnose any issues. Good luck.

https://github.com/bpmn-io/form-js-examples/issues/13#issuecomment-2071254047 if i add webpack reslove 'preact' ,then it worked, but bpmn-js/properties-panel report an error~ ?