Skip to content
This repository was archived by the owner on Jan 16, 2024. It is now read-only.

Commit 7ab9c38

Browse files
committed
fix: change upload fields from disabled to hidden
1 parent b4b66e2 commit 7ab9c38

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/fields/getFields.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const getFields = ({
2525
type: 'text',
2626
admin: {
2727
readOnly: true,
28-
disabled: true,
28+
hidden: true,
2929
},
3030
}
3131

@@ -34,7 +34,7 @@ export const getFields = ({
3434
type: 'text',
3535
admin: {
3636
readOnly: true,
37-
disabled: true,
37+
hidden: true,
3838
},
3939
}
4040

@@ -88,7 +88,7 @@ export const getFields = ({
8888
name: 'sizes',
8989
type: 'group',
9090
admin: {
91-
disabled: true,
91+
hidden: true,
9292
},
9393
fields: collection.upload.imageSizes.map(size => {
9494
const existingSizeField = existingSizesField?.fields.find(

0 commit comments

Comments
 (0)