formio / angular

JSON powered forms for Angular
https://formio.github.io/angular-demo
MIT License
612 stars 462 forks source link

[Custom Components] Custom Components View only mode. #1058

Open yong980 opened 1 month ago

yong980 commented 1 month ago

I have created a few custom component using formio in my current project.

Right now I am trying to make my custom component view only like how the Form Renderer trigger it's view only mode. Question is there anyway I can customize viewOnly mode with custom component?

gyanendrasinghpanwar commented 1 month ago

@yong980 If u r using renderTemplate for html, In this case it will automatically work. For more clarity, u can debug renderTemplate method.