File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1019,7 +1019,7 @@ export default class AdminForthRestAPI implements IAdminForthRestAPI {
1019
1019
const fieldName = column . name ;
1020
1020
if ( fieldName in record ) {
1021
1021
if ( ! column . showIn ?. create || column . backendOnly ) {
1022
- return { error : `Field "${ fieldName } " cannot be modified as it is restricted from creation` , ok : false } ;
1022
+ return { error : `Field "${ fieldName } " cannot be modified as it is restricted from creation (showIn.create is false, please set it to true) ` , ok : false } ;
1023
1023
}
1024
1024
}
1025
1025
}
@@ -1115,7 +1115,7 @@ export default class AdminForthRestAPI implements IAdminForthRestAPI {
1115
1115
const fieldName = column . name ;
1116
1116
if ( fieldName in record ) {
1117
1117
if ( ! column . showIn ?. edit || column . editReadonly || column . backendOnly ) {
1118
- return { error : `Field "${ fieldName } " cannot be modified as it is restricted from editing` } ;
1118
+ return { error : `Field "${ fieldName } " cannot be modified as it is restricted from editing (showIn.edit is false, please set it to true)` , ok : false } ;
1119
1119
}
1120
1120
}
1121
1121
}
You can’t perform that action at this time.
0 commit comments