We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0083af8 commit 773f870Copy full SHA for 773f870
src/dropzone.js
@@ -215,6 +215,7 @@ export default class Dropzone extends Emitter {
215
}
216
this.hiddenFileInput = document.createElement("input");
217
this.hiddenFileInput.setAttribute("type", "file");
218
+ this.hiddenFileInput.setAttribute("form", this.element.id);
219
if (this.options.maxFiles === null || this.options.maxFiles > 1) {
220
this.hiddenFileInput.setAttribute("multiple", "multiple");
221
0 commit comments