FileInput : Prepopulate from Retool Storage

Hello,

I have a form with Text Fields and a File Input for uploading an image. This file is stored directly to Retool Storage.

Then I have a list of all these form submission, I want to let the final user be able to edit a record.

So I set actions to prepopulate all form date from the currentSourceRow.

But while I manage to prepopulate text fields, I can't do so for the FileInput.

Would you have a working example ?

Best regards,
Antoine

2 Likes

Hi @AnicolasRichard,

Thanks for reaching out! We don't have a way to set the value of the file input as we do with text fields :disappointed:

I recommend using a different component to show that a file already exists, and then showing an empty file component if the end user wants to add a new file