Do not load Modal.CSS on all Forms


I was looking in the generated JS file for forms when using the Automatic way, and the code that it runs. I noticed that it always loads a modal.min.css on all forms, and also have a built-in functionality for it.

Doing a new request for modal.min.css despite me never using I think it’s unecessary. Selecting no on “Render style from Template?” does not changes this.

Can we have the config be set on the generate.js part to skip loading this extra uneeded css?

Also, is that mautic-form.js as minimum as possible? Or is it a one file for all scenarios?

Anyways, thanks for this awesome software. I’ve been using it and loving it.