diff options
| author | mehekj <mehek.jethani@gmail.com> | 2023-03-22 17:42:28 -0400 |
|---|---|---|
| committer | mehekj <mehek.jethani@gmail.com> | 2023-03-22 17:42:28 -0400 |
| commit | 3fed87fe05a70a5ef63ed7989c7a28faee68bf4b (patch) | |
| tree | fe4cfa2919ef4b3aa26ad898023d85ada21f6bf2 /src/client/views/collections/collectionSchema/SchemaRowBox.tsx | |
| parent | 1be46d0193752c4158cf327b8d3f7421b2d1b60f (diff) | |
shift enter shortcut to fill column
Diffstat (limited to 'src/client/views/collections/collectionSchema/SchemaRowBox.tsx')
| -rw-r--r-- | src/client/views/collections/collectionSchema/SchemaRowBox.tsx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionSchema/SchemaRowBox.tsx b/src/client/views/collections/collectionSchema/SchemaRowBox.tsx index 05197d05f..37999484d 100644 --- a/src/client/views/collections/collectionSchema/SchemaRowBox.tsx +++ b/src/client/views/collections/collectionSchema/SchemaRowBox.tsx @@ -120,7 +120,14 @@ export class SchemaRowBox extends ViewBoxBaseComponent<FieldViewProps>() { </div> <div className="row-cells"> {this.schemaView?.columnKeys?.map((key, index) => ( - <SchemaTableCell key={key} Document={this.rootDoc} fieldKey={key} columnWidth={this.schemaView?.displayColumnWidths[index] ?? CollectionSchemaView._minColWidth} isRowActive={this.props.isContentActive} /> + <SchemaTableCell + key={key} + Document={this.rootDoc} + fieldKey={key} + columnWidth={this.schemaView?.displayColumnWidths[index] ?? CollectionSchemaView._minColWidth} + isRowActive={this.props.isContentActive} + setColumnValues={(field, value) => this.schemaView?.setColumnValues(field, value) ?? false} + /> ))} </div> </div> |
