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

Uploading additional file is confusing as existing files disappear #30

Open
jonazu opened this issue Jul 28, 2015 · 1 comment
Open

Comments

@jonazu
Copy link

jonazu commented Jul 28, 2015

This is what I do:

  1. I add some files and save.
  2. I update the dataset again and add another file.
  3. Existing files disappear. The user will be confused: "Are the files deleted now?", "Do I have to upload all the files again?"
  4. Upon saving one will see that the old files are still there and the additional file is just added as we wanted to.

It is not a big problem, but if there is an easy way to fix this, I would appreciate it very much.

@zivoradantonijevic
Copy link

When calling widget, use this:

'pluginOptions' => [ // Plugin options of the Kartik's FileInput widget
'maxFileCount' => 10, // Client max files
'overwriteInitial' => false,
]

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

No branches or pull requests

2 participants