Skip to content

Make files work both ways? #9419

@brunnerh

Description

@brunnerh

Describe the problem

In Svelte 4 the input binding for files is one-way out of the element.
This is unexpected behavior because the property can be set

Relates to:

Describe the proposed solution

If the user wants to set the property, they will just have to deal with the DataTransfer shenanigans mentioned in #9415 themselves until maybe a different way to construct a FileList is standardized.

Since this is a small breaking change, Svelte 5 would be a good candidate in my opinion.

Alternatives considered

-

Importance

nice to have

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions