diff options
author | bobzel <zzzman@gmail.com> | 2024-03-28 11:38:56 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-03-28 11:38:56 -0400 |
commit | 1b592f74a7df8f6dd7b2881032725f26aedff403 (patch) | |
tree | 900179f9218af09932b061b55c5153fa9575f13e /src/fields/Doc.ts | |
parent | 52bd492747cf169df7bcdecdbdbb353d45b19734 (diff) |
fixed keyvaluebox to show props document, never the doc in the fieldKey slot. changed computedFIelds to do mobx caching. changed text boxes to do updating from templates based on a fieldKey_autoUpdate flag combined with modification timestamps. enabled comparison box to work with text fields in addition to docs.
Diffstat (limited to 'src/fields/Doc.ts')
-rw-r--r-- | src/fields/Doc.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fields/Doc.ts b/src/fields/Doc.ts index bdf600475..200896e25 100644 --- a/src/fields/Doc.ts +++ b/src/fields/Doc.ts @@ -48,7 +48,7 @@ export namespace Field { const valFunc = (field: Field): string => { const res = field instanceof ComputedField && showComputedValue - ? field._lastComputedResult + ? field.value(doc) : field instanceof ComputedField ? `:=${field.script.originalScript.replace(/dashCallChat\(_setCacheResult_, this, `(.*)`\)/, '(($1))')}` : field instanceof ScriptField |