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(facade): showRangeSelectorDialog document (#4767)

ZhangWei323fe3fa3595
diff --git a/packages/sheets-formula-ui/src/facade/f-univer.ts b/packages/sheets-formula-ui/src/facade/f-univer.ts
index 3f48faef20..80738844fc 100644
--- a/packages/sheets-formula-ui/src/facade/f-univer.ts
+++ b/packages/sheets-formula-ui/src/facade/f-univer.ts
@@ -37,7 +37,7 @@ export interface ISheetsFormulaUIMixin {
* initialValue: [{
* unitId,
* sheetName: fWorksheet.getSheetName(),
- * range: 'A1:B2'
+ * range: fWorksheet.getRange('A1:B2').getRange()
* }],
* maxRangeCount: 2,
* supportAcrossSheet: true,