Skip to content

Commit f6ccbbf

Browse files
committed
feat: add capture attribute for file input
1 parent 642ddc0 commit f6ccbbf

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- beta
77
- test
88
- theming-v2
9-
- remove-style-attributes-from-templates
9+
- capture-for-file-input
1010
pull_request:
1111
branches:
1212
- master

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"prerelease": true
5353
},
5454
{
55-
"name": "remove-style-attributes-from-templates",
55+
"name": "capture-for-file-input",
5656
"prerelease": true
5757
}
5858
],

projects/stream-chat-angular/src/lib/message-input/message-input.component.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@
142142
<input
143143
#fileInput
144144
type="file"
145+
capture
145146
class="rfu-file-input"
146147
data-testid="file-input"
147148
[multiple]="isMultipleFileUploadEnabled"

0 commit comments

Comments
 (0)