Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add missing files binding #9415

Merged
merged 4 commits into from
Nov 13, 2023
Merged

fix: add missing files binding #9415

merged 4 commits into from
Nov 13, 2023

Conversation

dummdidumm
Copy link
Member

@dummdidumm dummdidumm commented Nov 13, 2023

no two-way binding because setting it involves a DataTransfer workaround, so it's not really officially supported that way - if you need that, you shouldn't use that binding probably. This matches the behavior in Svelte 4.
Fixes #9418

no two-way binding because setting it involves a `DataTransfer` workaround, so it's not really officially supported that way - if you need that, you shouldn't use that binding probably. This matches the behavior in Svelte 4.
Copy link

changeset-bot bot commented Nov 13, 2023

🦋 Changeset detected

Latest commit: 1d9e6b9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
svelte Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Nov 13, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
svelte-5-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 13, 2023 8:08pm

@dummdidumm
Copy link
Member Author

#9419 made me realize this isn't quite correct, as we're missing the "transform this into an array" part here

@brunnerh
Copy link
Member

brunnerh commented Nov 13, 2023

@dummdidumm
Sorry, I think I must have misremembered because when I tested it earlier it just returned a FileList in v4.
Or did that change at some point?

Edit: Looks like it's just the FileList in v3 and v4.

@dummdidumm
Copy link
Member Author

dummdidumm commented Nov 13, 2023

OK nevermind then 😄 PR good to go then, we can think about whether or not we want to make this writable in a separate PR.

Copy link
Contributor

@trueadm trueadm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Svelte 5: 'files' is not a valid binding
4 participants