You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
resources: [{resource: Blog,features: [uploadFeature({provider: {aws: { ...config.aws}},properties: {key: 'bannerImage',// to this db field feature will safe S3 key// where mime type will be storedmimeType: `mimeType`,// where bucket name will be storedbucket: `bucket`,// where size will be storedsize: `size`,},validation: {mimeTypes: ['image/png','image/jpg','image/jpeg'],},}),],options: {properties: {text: {type: 'richtext',props: {borderless: true,},},bannerImage: {isVisible: false,},createdAt: {isVisible: {list: true,filter: true,show: true,edit: false,},},updatedAt: {isVisible: {list: true,filter: true,show: true,edit: false,},},slug: {isVisible: {list: true,filter: true,show: true,edit: false,},},slug_history: {isVisible: {list: true,filter: true,show: true,edit: false,},},},},}],
If I open the view to create a new record I get this error
Error: Elementtypeisinvalid: expectedastring(forbuilt-incomponents)oraclass/function(forcompositecomponents)butgot: undefined.Youlikelyforgottoexportyourcomponentfromthefileit's defined in, or you might have mixed up default and named imports. Check the render method of `BasePropertyComponent`.
Has anyone had a similar issue?
The text was updated successfully, but these errors were encountered:
When I try to add the upload functionality for my Blog mongoose model I get this error when I start the server
I'm running
and this is my
resources
configuration:If I open the view to create a new record I get this error
Has anyone had a similar issue?
The text was updated successfully, but these errors were encountered: