Skip to content

[Bug] Cannot select folder/directory #886

Open
@trymeouteh

Description

@trymeouteh

Is there an existing issue for this?

  • I have searched the existing issues

Have you updated FilePond and its plugins?

  • I have updated FilePond and its plugins

Describe the bug

When I add the webdirectory attribute to the input file tag, Filepond does allow me to select folders in the file browser window but once I select a folder to upload, FilePond does not show the folders or file from the folder in the FilePond file selector.

Reproduction

<link rel="stylesheet" href="node_modules/filepond/dist/filepond.min.css">



<input type="file" id="myInput" webkitdirectory>



<script src="node_modules/filepond/dist/filepond.min.js"></script>

<script>
    FilePond.create(document.querySelector('#myInput'), {
        allowDirectoriesOnly: true
    });
</script>

Environment

- Device: Laptop
- OS: Linux Mint 21.1
- Browser: Firefox & Ungoogled Chromium

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