aboutsummaryrefslogtreecommitdiff
path: root/src/fields/Document.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/fields/Document.ts')
-rw-r--r--src/fields/Document.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fields/Document.ts b/src/fields/Document.ts
index 4b159b4eb..0d233c295 100644
--- a/src/fields/Document.ts
+++ b/src/fields/Document.ts
@@ -58,6 +58,8 @@ export class Document extends Field {
break;
}
}
+ if (doc == FieldWaiting)
+ field = FieldWaiting;
}
return field;
@@ -101,6 +103,7 @@ export class Document extends Field {
@action
Set(key: Key, field: Field | undefined): void {
+ console.log("Assign: " + key.Name + " = " + (field ? field.GetValue() : "<undefined>") + " (" + (field ? field.Id : "<undefined>") + ")");
if (field) {
this.fields.set(key.Id, { key, field });
this._proxies.set(key.Id, field.Id)