diff options
| author | bobzel <zzzman@gmail.com> | 2023-12-11 00:41:05 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-12-11 00:41:05 -0500 |
| commit | be2569d8640f1693eb27f124ad3dd8062ada4837 (patch) | |
| tree | fe12bc1e68210d21971ebd893da4e2948f3b3966 /src/client/views/collections/collectionSchema | |
| parent | 380ee1acac1c0b7972d7d423cf804af146dc0edf (diff) | |
more updates to mobx 6. updated typescript to v5. updated pdf-dist
Diffstat (limited to 'src/client/views/collections/collectionSchema')
| -rw-r--r-- | src/client/views/collections/collectionSchema/SchemaTableCell.tsx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/client/views/collections/collectionSchema/SchemaTableCell.tsx b/src/client/views/collections/collectionSchema/SchemaTableCell.tsx index af0fe73c3..bcfe2c232 100644 --- a/src/client/views/collections/collectionSchema/SchemaTableCell.tsx +++ b/src/client/views/collections/collectionSchema/SchemaTableCell.tsx @@ -121,7 +121,8 @@ export class SchemaTableCell extends React.Component<SchemaTableCellProps> { <EditableView oneLine={this._props.oneLine} allowCRs={this._props.allowCRs} - contents={<FieldView {...fieldProps} />} + contents={undefined} + fieldContents={fieldProps} editing={this.selected ? undefined : false} GetValue={() => Field.toKeyValueString(this._props.Document, this._props.fieldKey)} SetValue={undoable((value: string, shiftDown?: boolean, enterKey?: boolean) => { @@ -333,7 +334,8 @@ export class SchemaBoolCell extends React.Component<SchemaTableCellProps> { })} /> <EditableView - contents={<FieldView {...fieldProps} />} + contents={undefined} + fieldContents={fieldProps} editing={this.selected ? undefined : false} GetValue={() => Field.toKeyValueString(this._props.Document, this._props.fieldKey)} SetValue={undoBatch((value: string, shiftDown?: boolean, enterKey?: boolean) => { |
