In my retool module, I am using the FileInput component to select a pdf file and then using Retool's email resource to send an email with that file attachment.
If I do this directly from within a retool app or the module itself, the email is sent with the file attached as expected. However, from the parent app (within which the module is placed), the email is sent without the file attached.
This seems like a bug to me or am I missing something?
There is no interaction between the parent app and the module other than the module being part of the app. Everything is happening inside the module.
I did reach out to Retool support on this and looks like it is a bug on their end. This was their response:
I was able to reproduce this and it's definitely a bug on our end. I've went ahead and put in a request to get this fixed. While there's no timeline set yet for the fix, it seems like the best workaround is to put the fileUpload component into the Parent app > pass the fileUpload.value to the Module > send the email containing the passed PDF from Parent app.
They were very prompt with responding so very happy about that.