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 with fileLimit problem #677

Closed
ilyavaiser opened this issue Nov 26, 2020 · 4 comments
Closed

FileUpload with fileLimit problem #677

ilyavaiser opened this issue Nov 26, 2020 · 4 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working vue2
Milestone

Comments

@ilyavaiser
Copy link

FileUpload( name="demo[]" ref="fileUpload" fileLimit="1" )

TypeError: Cannot read property 'length' of null at VueComponent.chooseDisabled (FileUpload.vue?008c:393)

chooseDisabled() { return this.disabled || (this.fileLimit && this.fileLimit <= this.files.length + this.uploadedFileCount); },

this.files.length - this.files undefined

@ilyavaiser
Copy link
Author

Any fixes?

@ilyavaiser ilyavaiser changed the title FileUpload with fileLimit problem 2.x FileUpload with fileLimit problem Dec 1, 2020
@qecce
Copy link

qecce commented Dec 4, 2020

Any fixes?

Hi, see #703

@ilyavaiser
Copy link
Author

Any fixes?

Hi, see #703

It not worked

@cagataycivici cagataycivici added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Dec 9, 2020
@cagataycivici cagataycivici added this to the 2.3.0 milestone Dec 9, 2020
@cagataycivici
Copy link
Member

Works in 3.x. and happens in 2.x, we'll fix it in upcoming 2.3.0.

@cagataycivici cagataycivici changed the title 2.x FileUpload with fileLimit problem FileUpload with fileLimit problem Dec 9, 2020
tugcekucukoglu added a commit that referenced this issue Dec 11, 2020
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 vue2
Projects
None yet
Development

No branches or pull requests

4 participants