carbon-design-system / carbon-components-vue

Vue implementation of the Carbon Design System
http://vue.carbondesignsystem.com
Apache License 2.0
608 stars 180 forks source link

feat: cv-file-uploader update to current File object coming from event to internalFile #1609

Closed isaquebenatti closed 4 months ago

isaquebenatti commented 5 months ago

Contributes to #1607

What did you do?

Updated to current File object coming from event to internalFile so that if a file has been modified the internalFiles are updated

Why did you do it?

I have case where the user may add a .docx file with the same name but modified, and the current component is not updating with the modified file.

How have you tested it?

With local test environment

Were docs updated if needed?

isaquebenatti commented 5 months ago

Hi @davidnixon, could you please review this PR? Thank you! :)

davidnixon commented 4 months ago

@felipebritor this looks OK to me. Can you have a look?

felipebritor commented 4 months ago

Hello, @davidnixon . I'll test it tonight

felipebritor commented 4 months ago

Looks good, @davidnixon . Sorry for the delay.