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
bug(uui-file-dropzone): change event is dispatched too early with more than 100 files (#848)
* Bugfix: Dropzone dispatch event too early.
* multiple property with folder logic
* add disallow folder upload story
* docs: convert story to StoryObj to better map attributes
* fix: ensure file browse uses same logic as file drop
* test: add cases for mimetypes and simplify logic
* fix: make sure mimetypes are accepted by using the right for-of loop
---------
Co-authored-by: Jacob Overgaard <[email protected]>
'When the multiple attribute is specified, the file input allows the user to select more than one file.',
50
+
51
+
exportconstMultiple: Story={
52
+
args: {
53
+
multiple: true,
54
+
},
55
+
parameters: {
56
+
docs: {
57
+
description: {
58
+
story:
59
+
'When the multiple attribute is specified, the file input allows the user to select more than one file.',
60
+
},
61
61
},
62
62
},
63
63
};
64
64
65
-
exportconstAccept=Template.bind({});
66
-
Accept.args={
67
-
accept: 'image/*',
68
-
};
69
-
Accept.parameters={
70
-
docs: {
71
-
description: {
72
-
story:
73
-
'The accept attribute takes as its value a comma-separated list of one or more file types, or unique file type specifiers, describing which file types to allow. See the [MDN docs](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept) for more information.',
65
+
exportconstAccept: Story={
66
+
args: {
67
+
accept: 'image/*',
68
+
},
69
+
parameters: {
70
+
docs: {
71
+
description: {
72
+
story:
73
+
'The accept attribute takes as its value a comma-separated list of one or more file types, or unique file type specifiers, describing which file types to allow. See the [MDN docs](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept) for more information.',
0 commit comments