diff --git a/packages/dnb-design-system-portal/src/docs/uilib/components/upload/Examples.tsx b/packages/dnb-design-system-portal/src/docs/uilib/components/upload/Examples.tsx index a22e1fc40ab..dce4420da1b 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/components/upload/Examples.tsx +++ b/packages/dnb-design-system-portal/src/docs/uilib/components/upload/Examples.tsx @@ -367,6 +367,7 @@ export const UploadOnFileClick = () => ( setFiles([ { file: createMockFile('1501870.jpg', 123, 'image/png'), + id: '1', }, { file: createMockFile( @@ -374,6 +375,7 @@ export const UploadOnFileClick = () => ( 123, 'image/png', ), + id: '2', }, ]) }, [setFiles]) diff --git a/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/feature-fields/more-fields/Upload/Examples.tsx b/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/feature-fields/more-fields/Upload/Examples.tsx index 5cac2ffc81e..fb2211242e4 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/feature-fields/more-fields/Upload/Examples.tsx +++ b/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/feature-fields/more-fields/Upload/Examples.tsx @@ -237,6 +237,7 @@ export const WithAsyncOnFileClick = () => { myFiles: [ { file: createMockFile('1501870.jpg', 100, 'image/png'), + id: '1', }, ], }}