mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) A quick attempt to fix summarizing by reference columns
Test Plan: TBD Reviewers: paulfitz Reviewed By: paulfitz Differential Revision: https://phab.getgrist.com/D2884
This commit is contained in:
@@ -266,7 +266,11 @@ export class FieldBuilder extends Disposable {
|
||||
cssLabel('DATA FROM TABLE'),
|
||||
cssRow(
|
||||
dom.autoDispose(allTables),
|
||||
select(fromKo(this._refTableId), allTables),
|
||||
select(fromKo(this._refTableId), allTables, {
|
||||
// Disallow changing the destination table when the column should not be modified
|
||||
// (specifically when it's a group-by column of a summary table).
|
||||
disabled: this.origColumn.disableModifyBase,
|
||||
}),
|
||||
testId('ref-table-select')
|
||||
)
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user