make non-fillable fields visible but disabled in UI

This commit is contained in:
dswbx
2025-10-24 14:09:07 +02:00
parent f4a7cde487
commit 37c36e5d07
11 changed files with 353 additions and 37 deletions
+4 -2
View File
@@ -83,8 +83,10 @@ export class Mutator<
}
// we should never get here, but just to be sure (why?)
if (!field.isFillable(context)) {
throw new Error(`Field "${key}" is not fillable on entity "${entity.name}"`);
if (!field.isFillable(context as any)) {
throw new Error(
`Field "${key}" of entity "${entity.name}" is not fillable on context "${context}"`,
);
}
// transform from field