Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

fix(conditional-formatting): hidden values do not take effect when us… (#3228)

Gpound.liu4e888d0a968f
diff --git a/packages/sheets-data-validation/src/controllers/dv-render.controller.ts b/packages/sheets-data-validation/src/controllers/dv-render.controller.ts
index 27e8afe351..705faaea63 100644
--- a/packages/sheets-data-validation/src/controllers/dv-render.controller.ts
+++ b/packages/sheets-data-validation/src/controllers/dv-render.controller.ts
@@ -272,7 +272,8 @@ export class SheetsDataValidationRenderController extends RxDisposable {
fontRenderExtension: {
// @ts-ignore
...cell?.fontRenderExtension,
- isSkip: validator?.skipDefaultFontRender(rule, cellValue, pos),
+ // @ts-ignore
+ isSkip: cell?.fontRenderExtension?.isSkip || validator?.skipDefaultFontRender(rule, cellValue, pos),
},
interceptorStyle: {
...cell?.interceptorStyle,