bs-custom-file-input
bs-custom-file-input copied to clipboard
Is it a problem if we call bsCustomFileInput.init() again after an ajaxSuccess event?
Is it a problem if we call bsCustomFileInput.init() again after an ajaxSuccess event? Does it hurt existing custom file inputs, does it "double the trouble" so to say?
Yes, I believe it can cause duplication of the label text.
It would be nice if we could pass a DOM element to the plugin to only target a specific element or parent.
It would be nice if we could pass a DOM element to the plugin to only target a specific element or parent.
Yes, that would be splendid!