tobimori / kirby-dreamform

✨ DreamForm is an opiniated form builder plugin for Kirby CMS that makes forms work like magic
https://plugins.andkindness.com/dreamform
41 stars 5 forks source link

Email action does not work with file field in form #55

Closed tobimori closed 2 months ago

mikewink commented 2 months ago

Experiencing this problem with HTMX support active and not active.

Kirby\Toolkit\Str::esc(): Argument #1 ($string) must be of type string, array given, called in /var/www/html/kirby/config/methods.php on line 346

I am using the email action with, together with the default template.

tobimori commented 2 months ago

Yep, thanks for confirming. Sorry, I couldn't get around to fix it yet. A temporary option would be to provide a custom email template that does not include the file field. You'll be able to download the uploaded files from the panel.