umbraco / Umbraco.Forms.Issues

Public issue tracker for Umbraco Forms
29 stars 0 forks source link

Add support to distribute custom forms themes as part of a Razor class library #795

Open jhenkes opened 2 years ago

jhenkes commented 2 years ago

Hello,

I noticed that Umbraco Forms v10 distributes the .cshtml files (including themes) as part of a Razor class library. Would it be possible / Is it planned to also support the same mechanism for custom themes as part of a RCL?

I currently have a custom forms theme for bootstrap 5. Instead of having to add the physical files to every project I want to use this theme in, I'd like to distribute it as RCL.

Best regards, Jeremy

FrankSchutte commented 1 year ago

We have a similar setup where we want to have a .cshtml as part of a Razor class library. For us the .cshtml file is a email template. We configured the RCL for Razor pages. Sadly the email template does not show up in the template picker when using the SendRazorEmail workflow.