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

Ctrl select multifile #967

Closed
8 of 18 tasks
deluo opened this issue May 13, 2017 · 3 comments
Closed
8 of 18 tasks

Ctrl select multifile #967

deluo opened this issue May 13, 2017 · 3 comments

Comments

@deluo
Copy link

deluo commented May 13, 2017

Prerequisites

  • I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
  • The issue still exists against the latest master branch of bootstrap-fileinput.
  • This is not an usage question. I confirm having read the plugin documentation and demos.
  • This is not a general programming / coding question. (Those should be directed to the webtips Q & A forum).
  • I have attempted to find the simplest possible steps to reproduce the issue.
  • I have included a failing test as a pull request (Optional).

Steps to reproduce the issue

1.showPreview:false;
2.when I select two or more img by ctrl shows img's filename
3.if I borwser one img then browser one img ,it shows two selected

Expected behavior and actual behavior

I expected step2 shows img's count 'two files selected' NOT filename 'XXX.jpg'

Environment

Browsers

  • Google Chrome
  • Mozilla Firefox
  • Internet Explorer
  • Safari

Operating System

  • Windows
  • Mac OS X
  • Linux
  • Mobile

Libraries

  • jQuery version 1.12.3:
  • bootstrap-fileinput version v3.3.2:

Isolating the problem

  • This bug happens on the plugin demos page
  • The bug happens consistently across all tested browsers
  • This bug happens when using bootstrap-fileinput without other plugins
  • I can reproduce this bug in a jsbin
@kartik-v
Copy link
Owner

kartik-v commented May 13, 2017

Cannot reproduce this. Can you share the details on your scenario or share a JS Fiddle.

Suggest you to cross check advanced demo example # 10 ... where preview is hidden... and depending on your file selection the caption changes automatically.

@deluo
Copy link
Author

deluo commented May 14, 2017

Thanks for your reply which helped me find the problem. I have read the advance demo example#10 and find the key point.
uploadUrl: "AjaxHandler/myHandler.ashx", if I commented out this code,the problem is solved.
As you see my IDE is vs2012 ,C# language.
Look forward to your reply.

@kartik-v kartik-v reopened this May 14, 2017
@kartik-v
Copy link
Owner

Yes you can use that way without ajax (i.e. form submit mode - refer docs for usage modes).

But seems to be a count issue when using with ajax mode with uploadUrl... and reopening this issue for correction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants