aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionFreeFormView.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/collections/CollectionFreeFormView.tsx')
-rw-r--r--src/client/views/collections/CollectionFreeFormView.tsx6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionFreeFormView.tsx b/src/client/views/collections/CollectionFreeFormView.tsx
index 63255dd90..29d254e56 100644
--- a/src/client/views/collections/CollectionFreeFormView.tsx
+++ b/src/client/views/collections/CollectionFreeFormView.tsx
@@ -194,6 +194,11 @@ export class CollectionFreeFormView extends CollectionViewBase {
});
}
+ @action
+ addKVP(doc: Document) {
+ let fields = doc.fields;
+ //TODO: return kvpg
+ }
@computed get backgroundLayout(): string | undefined {
let field = this.props.Document.GetT(KeyStore.BackgroundLayout, TextField);
@@ -261,6 +266,7 @@ export class CollectionFreeFormView extends CollectionViewBase {
}
render() {
+ //TODO: put KVP stuff in this function
//determines whether preview text cursor should be visible (ie when user taps this collection it should)
let cursor = null;