-
Notifications
You must be signed in to change notification settings - Fork 77
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(input): update files property on input event when type="file" #11262
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! Would it be possible to add a test for this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
It wasn't possible with jest, but I did some research and vitest does have experimental support: We would need to add playwright or webdriverio to our vitest setup: Would that play okay with Lumina @maxpatiiuk? Maybe this warrants a separate issue @jcfranco? |
With Lumina yes, but: I believe the documentation you are looking at is for vitest browser mode. Anything imported from Migrating Calcite's E2E tests to vitest browser mode would be a DX improvement for sure, but it is much larger than the scope of this PR. P.S: I couldn't see an issue for migration to vitest browser mode - should I create one? |
A new issue would be great, thanks! Just noting that transitioning to vitest browser mode will be put on hold until it is no longer experimental. |
…mprovements * origin/dev: fix(input): update files property on input event when type="file" (#11262)
Opened an issue: #11268 |
Related Issue: #9581
Summary
Ensure the
files
property is updated beforecalciteInputInput
is emitted fortype="file"
inputs.