Skip to content

Commit

Permalink
Fixup! MinimalFileInput - Add the ability to select one or more files.
Browse files Browse the repository at this point in the history
  • Loading branch information
csavelief committed Oct 14, 2024
1 parent a0de445 commit cbf83c5
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dist/cjs/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/cjs/main.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/esm/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/esm/main.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/main.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/main.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/blueprintjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -2405,7 +2405,7 @@ blueprintjs.MinimalFileInput = class extends blueprintjs.Blueprintjs {
onInputChange: (el) => {
this.text = el.target.files[0].name;
this.render();
this.observers_.notify('selection-change', el.target.files[0]);
this.observers_.notify('selection-change', this.multiple ? el.target.files : el.target.files[0]);
},
});
}
Expand Down

0 comments on commit cbf83c5

Please sign in to comment.