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

When returning errors via errorKeys View Details shows no info in the dialog box #1215

Closed
11 of 18 tasks
russellpettway opened this issue Mar 30, 2018 · 2 comments
Closed
11 of 18 tasks
Labels

Comments

@russellpettway
Copy link

russellpettway commented Mar 30, 2018

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

Upload say 7+ files. From the server return:
{ error: "Some Error", errorKeys: [3,5,7] }

Expected behavior and actual behavior

When I follow those steps,
I click on "View Details" icon for one of the failed files I see blank dialog box no textarea.

I was expecting...
When I click on "View Details" icon for one of the failed files I would expect there to be a textarea with the file info.

Environment

Browsers

  • Google Chrome
  • Mozilla Firefox
  • Internet Explorer
  • Safari

Operating System

  • Windows
  • Mac OS X
  • Linux
  • Mobile

Libraries

  • jQuery version: 3.2.1
  • bootstrap-fileinput version: 4.4.8

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

image

image

@kartik-v kartik-v added the bug label Apr 4, 2018
@kartik-v
Copy link
Owner

kartik-v commented Apr 4, 2018

Resolved via above commit.

@russellpettway
Copy link
Author

Awesome! thanks, great plugin BTW!!

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

No branches or pull requests

2 participants