Skip to content

Commit eb9f193

Browse files
fkm-adfinisvelrest
authored andcommitted
fix(document-upload-button): update multiple attribute
This changes the boolean attribute to the old-school/legacy notation as the normal style doesn't seem to hold when importing the engine in an Ember application.
1 parent d62ecce commit eb9f193

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

.ember-cli

-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
11
{
2-
/**
3-
Ember CLI sends analytics information by default. The data is completely
4-
anonymous, but there are times when you might want to disable this behavior.
5-
6-
Setting `disableAnalytics` to true will prevent any data from being sent.
7-
*/
82
"disableAnalytics": false
93
}

addon/components/document-upload-button.hbs

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
{{#if @category}}
1919
<input
2020
type="file"
21-
multiple
21+
multiple="multiple"
2222
data-test-input
2323
{{on "change" (perform this.upload @category)}}
2424
/>
@@ -28,7 +28,7 @@
2828
<Item uk-form-custom data-test-upload-category>
2929
<input
3030
type="file"
31-
multiple
31+
multiple="multiple"
3232
data-test-input
3333
{{on "change" (perform this.upload category)}}
3434
/>

0 commit comments

Comments
 (0)