-
Hello everyone, I am a newbie const Tags: CollectionConfig = { admin: { ], |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
i solved: {
type: 'number',
name: 'c_sum',
label: "c_sum",
admin: {
description: 'c1+c2',
hidden:false
},
access: {
update: () => false,
create:()=>false
},
hooks: {
afterRead: [
({ data }) => {
return data.c1 + data.c2;
}
],
},
}, |
Beta Was this translation helpful? Give feedback.
i solved: