aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionSchema/SchemaTableCell.tsx
diff options
context:
space:
mode:
authorNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2024-06-17 12:07:00 -0400
committerNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2024-06-17 12:07:00 -0400
commit69153ed435cbbc10637563b8bb576a80f8c0693f (patch)
treee889ae54add45680b20e92d527df631e5a3b0cfe /src/client/views/collections/collectionSchema/SchemaTableCell.tsx
parentc472f9844ed2806f7965713cf618363210e37de1 (diff)
schema cell editable field class started
Diffstat (limited to 'src/client/views/collections/collectionSchema/SchemaTableCell.tsx')
-rw-r--r--src/client/views/collections/collectionSchema/SchemaTableCell.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/collections/collectionSchema/SchemaTableCell.tsx b/src/client/views/collections/collectionSchema/SchemaTableCell.tsx
index 69880b280..79f9067e2 100644
--- a/src/client/views/collections/collectionSchema/SchemaTableCell.tsx
+++ b/src/client/views/collections/collectionSchema/SchemaTableCell.tsx
@@ -34,6 +34,7 @@ import { CollectionSchemaView, FInfotoColType } from './CollectionSchemaView';
import './CollectionSchemaView.scss';
import { SchemaColumnHeader } from './SchemaColumnHeader';
import { ContextMenu } from '../../ContextMenu';
+import { SchemaCellField } from './SchemaCellField';
export interface SchemaTableCellProps {
Document: Doc;
@@ -176,11 +177,10 @@ export class SchemaTableCell extends ObservableReactComponent<SchemaTableCellPro
width: '100%',
pointerEvents: this.lockedInteraction ? 'none' : pointerEvents,
}}>
- <EditableView
+ <SchemaCellField
highlightCells={this.adjustedHighlight}
ref={r => selectedCell(this._props) && this._props.autoFocus && r?.setIsFocused(true)}
oneLine={this._props.oneLine}
- allowCRs={this._props.allowCRs}
contents={undefined}
fieldContents={fieldProps}
editing={selectedCell(this._props) ? undefined : false}