form-js icon indicating copy to clipboard operation
form-js copied to clipboard

how can add a new component package to calendar section?

Open moeinparvizi opened this issue 1 year ago • 5 comments

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:

  • @bpmn-io/form-js:build
  • @bpmn-io/form-js-editor:build
  • @bpmn-io/form-js-playground:build

Failed tasks:

  • @bpmn-io/form-js-viewer:build

ERROR: "build" exited with 1.

moeinparvizi avatar Dec 30 '23 13:12 moeinparvizi

@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.

Skaiir avatar Jan 02 '24 07:01 Skaiir

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...

moeinparvizi avatar Jan 03 '24 16:01 moeinparvizi

@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.

Skaiir avatar Jan 15 '24 09:01 Skaiir

@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 avatar Apr 23 '24 08:04 Ken-Scofield

@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~ ?

Ken-Scofield avatar Apr 23 '24 08:04 Ken-Scofield