refactor(editor): add bulk validation only on HARDSELECT_HOOK; skip SOFTSELECT_HOOK
This commit is contained in:
@@ -1100,12 +1100,7 @@ export class EditorComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||
for (let c = range.startCol; c <= range.endCol; c++) {
|
||||
rows.add(r)
|
||||
const colKey = hot.colToProp(c) as string
|
||||
if (
|
||||
this.dcValidator?.hasDqRules(colKey, [
|
||||
'SOFTSELECT_HOOK',
|
||||
'HARDSELECT_HOOK'
|
||||
])
|
||||
) {
|
||||
if (this.dcValidator?.hasDqRules(colKey, ['HARDSELECT_HOOK'])) {
|
||||
hookCols.add(colKey)
|
||||
hookTargets.push({ r, c })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user