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

FileUpload callback 'Select' little adjust. #990

Closed
nigthwolfer opened this issue Feb 18, 2021 · 1 comment
Closed

FileUpload callback 'Select' little adjust. #990

nigthwolfer opened this issue Feb 18, 2021 · 1 comment
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@nigthwolfer
Copy link

Greetings. First of all I would like to thank you for this excellent work. Using FileUpload, I realized that the 'select' callback returns the empty files array. So, I added the reference 'this.' as follows and the callback worked as expected.

this.$emit('select', {originalEvent: event, files: files});

Addition of the 'this' reference.

this.$emit('select', {originalEvent: event, files: this.files});

Best regards.

@cagataycivici cagataycivici self-assigned this Feb 19, 2021
@cagataycivici cagataycivici added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Feb 19, 2021
@cagataycivici cagataycivici added this to the 3.3.0 milestone Feb 19, 2021
@cagataycivici
Copy link
Member

Got it, thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

2 participants