angular
angular copied to clipboard
[Custom Components] How can I use Custom Components in PDF builder?
I have created Custom Component and have applied it to my PDF builder. But I got an error Unknown component: customcomponent
.
How can I use it?
Did you setup according to the wiki https://github.com/formio/angular-formio/wiki/Custom-Components-with-Angular-Elements and does it work for you inside the regular formio component or formbuilder?
Yeah, sure. I set up according to the wiki and it's working for regular builder, but not for PDF
Any updates?
The PDF builder is pretty opinionated which components it allows to be included in PDF's since many components are not compatible with the PDF rendered form. As of right now, we don't have a way to indicate that you wish to include your custom component in the PDF builder, but there may be a way to hook into the options to override default behavior, but this is not something I have done myself.
Am I correct in understanding if I wish to include a custom component in to a PDF I have to alter PDF builder and not the renderer? I can get my component to work in a PDF builder but the component is not recognised on PDF rendered form while filling it out. Same component works fine in a "form" render.
Any code sample on how to add custom component to pdf would be appreciated for @formio/react
.
.
We're currently addressing a backlog of GitHub issues, and as part of this effort, some inactive issues may be marked as closed. This isn't a dismissal, but a step toward more efficient tracking.
If you feel the issue is still relevant, please re-open and we'll ensure it gets the attention it deserves. Your understanding is appreciated as we work to enhance our open-source responsiveness.
Is there another ticket or solution for this problem?