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

Adds v-model support to dropzone files #444

Closed
wants to merge 1 commit into from
Closed

Adds v-model support to dropzone files #444

wants to merge 1 commit into from

Conversation

MatheusRich
Copy link

Fixes #441.

I've added a basic support to a v-model directive. So, given a object, we should be able to bind the files in dropzone like this:

files: {
  acceptedFiles: [...],
  rejectedFiles: [...],
  queuedFiles: [...],
  uploadingFiles: [...]
}

I've called updateFiles() after ALL dropzone events. I'm not sure about this, what do you think? Is there a better way to approach this? Tell me if there's something else to do (or if it has any bugs).

@MatheusRich MatheusRich changed the title Add v-model support to dropzone files Adds v-model support to dropzone files Apr 23, 2019
@MatheusRich
Copy link
Author

Fixed the conflicts! I hope the stylesheet is correct. Is there any linter setted up?

@JohannesLichtenberger
Copy link

Any news on this?

@MatheusRich
Copy link
Author

@JohannesLichtenberger It seems that this is not being maintained anymore. Check #473

@JohannesLichtenberger
Copy link

JohannesLichtenberger commented Dec 9, 2019

However, how to use https://github.com/Etheryte/vue-auto-dropzone with Nuxt.js? It doesn't support SSR as of now: window is not defined.

@MatheusRich MatheusRich closed this Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Files are not reactive
3 participants