File tree 2 files changed +3
-1
lines changed
src/LiveComponent/assets/src
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ export interface BackendInterface {
13
13
updated : { [ key : string ] : any } ,
14
14
children : ChildrenFingerprints ,
15
15
updatedPropsFromParent : { [ key : string ] : any } ,
16
+ files : { [ key : string ] : FileList } ,
16
17
) : BackendRequest ;
17
18
}
18
19
@@ -34,7 +35,7 @@ export default class implements BackendInterface {
34
35
updated : { [ key : string ] : any } ,
35
36
children : ChildrenFingerprints ,
36
37
updatedPropsFromParent : { [ key : string ] : any } ,
37
- files : { [ key : string ] : FileList } = { } ,
38
+ files : { [ key : string ] : FileList } ,
38
39
) : BackendRequest {
39
40
const { url, fetchOptions } = this . requestBuilder . buildRequest (
40
41
props ,
Original file line number Diff line number Diff line change @@ -358,6 +358,7 @@ export default class Component {
358
358
this . valueStore . getDirtyProps ( ) ,
359
359
this . getChildrenFingerprints ( ) ,
360
360
this . valueStore . getUpdatedPropsFromParent ( ) ,
361
+ { } , // Uploaded files will go here
361
362
) ;
362
363
this . hooks . triggerHook ( 'loading.state:started' , this . element , this . backendRequest ) ;
363
364
You can’t perform that action at this time.
0 commit comments