Skip to content

Commit

Permalink
⬆️ Bump to types v0.13.0
Browse files Browse the repository at this point in the history
Contains the fixes for the file upload component.
  • Loading branch information
sergei-maertens committed Oct 27, 2023
1 parent dce9b58 commit 7e9f246
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"@formatjs/cli": "^6.1.1",
"@formatjs/ts-transformer": "^3.12.0",
"@fortawesome/fontawesome-free": "^6.4.0",
"@open-formulieren/types": "^0.12.0",
"@open-formulieren/types": "^0.13.0",
"@storybook/addon-actions": "^7.3.2",
"@storybook/addon-essentials": "^7.3.2",
"@storybook/addon-interactions": "^7.3.2",
Expand Down
5 changes: 2 additions & 3 deletions src/registry/file/edit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,8 @@ const EditForm: EditFormDefinition<FileComponentSchema> = () => {
EditForm.defaultValues = {
storage: 'url',
url: '',
// TODO -> add to type definition!
// options: '{"withCredentials": true}',
// webcam: false,
options: {withCredentials: true},
webcam: false,

// basic tab
label: '',
Expand Down

0 comments on commit 7e9f246

Please sign in to comment.