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 {
10191019 const fieldName = column . name ;
10201020 if ( fieldName in record ) {
10211021 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 } ;
10231023 }
10241024 }
10251025 }
@@ -1115,7 +1115,7 @@ export default class AdminForthRestAPI implements IAdminForthRestAPI {
11151115 const fieldName = column . name ;
11161116 if ( fieldName in record ) {
11171117 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 } ;
11191119 }
11201120 }
11211121 }
You can’t perform that action at this time.
0 commit comments