|
66 | 66 | :scroll-distance="scrollDistance" |
67 | 67 | :accepted-files="acceptedFiles" |
68 | 68 | :capture-files="captureFiles" |
| 69 | + :multiple-files="multipleFilesCasted" |
69 | 70 | :templates-text="templatesTextCasted" |
70 | 71 | :username-options="usernameOptionsCasted" |
71 | 72 | :emoji-data-source="emojiDataSource" |
@@ -199,6 +200,7 @@ export default { |
199 | 200 | scrollDistance: { type: Number, default: 60 }, |
200 | 201 | acceptedFiles: { type: String, default: '*' }, |
201 | 202 | captureFiles: { type: String, default: '' }, |
| 203 | + multipleFiles: { type: [Boolean, String], default: true }, |
202 | 204 | templatesText: { type: [Array, String], default: () => [] }, |
203 | 205 | mediaPreviewEnabled: { type: [Boolean, String], default: true }, |
204 | 206 | usernameOptions: { |
@@ -292,6 +294,9 @@ export default { |
292 | 294 | messagesLoadedCasted() { |
293 | 295 | return this.castBoolean(this.messagesLoaded) |
294 | 296 | }, |
| 297 | + multipleFilesCasted() { |
| 298 | + return this.castBoolean(this.multipleFiles) |
| 299 | + }, |
295 | 300 | showSearchCasted() { |
296 | 301 | return this.castBoolean(this.showSearch) |
297 | 302 | }, |
|
0 commit comments