Can Accepted File Types be bound dynamically in File Input?

Hi Appfarm Community,

When configuring the File Input → Create File Object action, there is an option called Accepted File Types (Any, Image, Video, PDF, etc.).

As far as I can see, this field only lets me choose from a static list.
Is there any way to bind this to a variable or data source, so that I can decide allowed file types dynamically (e.g. only PDF in one context, only images in another)?

Thanks!

Hi!

No, we do not have that file type list as a built-in enumerated type yet. It might be considered at some point, but per now, you need to solve this by combining ifs.