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

Can not bind to 'files' attribute of input element #1608

Closed
funkybob opened this issue Jul 23, 2018 · 7 comments
Closed

Can not bind to 'files' attribute of input element #1608

funkybob opened this issue Jul 23, 2018 · 7 comments

Comments

@funkybob
Copy link
Contributor

I recently tried:

<input type="file" multiple bind:files="files">

And received the compile time error:

[!] (svelte plugin) ValidationError: 'files' is not a valid binding

Am currently working on a PR.

Rich-Harris added a commit that referenced this issue Jul 24, 2018
@Conduitry
Copy link
Member

Should this have been closed? Afaict the PR just updated the validation checks, but did not write any of the binding handling

@Rich-Harris
Copy link
Member

No need, it Just Works!

screen shot 2018-07-24 at 1 54 23 pm

@Conduitry
Copy link
Member

😮 👍 Indeed it does!

@jplattel
Copy link

jplattel commented Aug 9, 2019

I can't seem to get this to work on Safari Version 12.1.1 (14607.2.6.1.1). Somehow the binding seems to be broken... (ah just noticed: #3226 , nevermind :))

@Achudh
Copy link

Achudh commented Nov 2, 2021

@xmlking
Copy link

xmlking commented Nov 15, 2023

same issue with Svelte 5
skeletonlabs/skeleton#2238

@brunnerh
Copy link
Member

brunnerh commented Nov 15, 2023

That has already been fixed (#9418 / #9415), but not released yet as far as I can tell.

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

No branches or pull requests

7 participants