Closed heruan closed 3 years ago
Not sure what's the status of this, changes were requested and applied; still, it needs some discussion (see review).
Is there a need for such additional property? The files
array is public so you can check the indexOf
any file against that when the event occurs.
@tomivirkki I'm in a bit of a loop on this matter! Consider I'm using Flow, and I need the file index in the events dispatched by the Flow components, which in turn are filled with data from the JavaScript events (not to mention it also involves an interface from Flow core, see https://github.com/vaadin/vaadin-upload-flow/issues/100#issuecomment-440970541).
I'm not sure how to proceed to achieve this and I admit it feels difficult to contribute when the feature involves both the JavaScript and Java components which are two different repositories with different reviewers π
Any further feedback on this? It's been a while, but still the file index isn't available on the event π
It has been a while since this PR was submitted. Apologies about keeping it open for so long without any progress.
The component has been converted to Polymer 3 so there are merge conflicts. Also, the new development for Vaadin web components will happen in the monorepo.
I'm closing this now. We will submit a new PR to the monorepo when the linked issue is prioritised.
Fixes #289
This change isβ