You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
attach the fileselect event to your fileinput componenet like this $("#file-input").off("fileselect").on("fileselect", function (event) { console.log("fileselect"); event.stopPropagation(); event.preventDefault(); });
Expected behavior and actual behavior
When I follow those steps, I see in fileselect printed twice in the console
Prerequisites
master
branch of bootstrap-fileinput.Steps to reproduce the issue
$("#file-input").off("fileselect").on("fileselect", function (event) { console.log("fileselect"); event.stopPropagation(); event.preventDefault(); });
Expected behavior and actual behavior
When I follow those steps, I see in fileselect printed twice in the console
I was expecting it to be printed only once
Environment
Browsers
Operating System
Libraries
Isolating the problem
The text was updated successfully, but these errors were encountered: