Skip to content

Add directory support for FileTrigger #4963

@prabirshrestha

Description

@prabirshrestha

Provide a general summary of the feature here

Upload selecting directories when using FileTrigger.

🤔 Expected Behavior?

Add support for <FileTrigger directory> to allow selecting directories.

😯 Current Behavior

Not supported

💁 Possible Solution

Although the property is called webkitdirectory and not directory, it is supported by Chrome, Firefox, Edge 14+, and Safari 11.1+.

https://caniuse.com/?search=webkitdirectory

Could prefix with UNSAFE_.

<FileTrigger UNSAFE_directory>

🔦 Context

This allows nested folders to be supported.

💻 Examples

No response

🧢 Your Company/Team

No response

🕷 Tracking Issue

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions