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

.upload() missing setter in HTMLInputElement.files overwrite #1223

Open
ph-fritsche opened this issue Jun 3, 2024 Discussed in #1155 · 0 comments
Open

.upload() missing setter in HTMLInputElement.files overwrite #1223

ph-fritsche opened this issue Jun 3, 2024 Discussed in #1155 · 0 comments
Labels
bug Something isn't working

Comments

@ph-fritsche
Copy link
Member

Discussed in #1155 by borja-sanz-sanz

https://github.com/testing-library/user-event/blob/main/src/utils/edit/setFiles.ts lacks a setter.

It's not possible to create a FileList programmatically, but our users could retrieve one from a simulated drag event.

@ph-fritsche ph-fritsche added the bug Something isn't working label Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant