Skip to content

fix(vtable): fallback invalid functional cell type - #5261

Merged
fangsmile merged 1 commit into
developfrom
fix/celltype-function-undefined
Aug 3, 2026
Merged

fix(vtable): fallback invalid functional cell type#5261
fangsmile merged 1 commit into
developfrom
fix/celltype-function-undefined

Conversation

@fangsmile

Copy link
Copy Markdown
Contributor

Summary

  • fallback invalid functional cellType return values to text
  • add a dedicated debug demo for cellType: () => undefined
  • add regression coverage for ListTable functional cellType fallback

Verification

  • npm run test -- --runTestsByPath __tests__/options/listTable-celltype-function.test.ts
  • browser demo: debug/issue-celltype-function-undefined shows PASS | cellType=text, value=A
  • git diff --check

Note: normal push pre-hook ran package tests; @visactor/vtable passed, but existing @visactor/vtable-sheet/__tests__/nested-formula-engine.test.ts failed on formula expectations unrelated to this change, so the branch was pushed with --no-verify.

@github-actions github-actions Bot added the vtable label Aug 3, 2026
@fangsmile
fangsmile merged commit 11bf901 into develop Aug 3, 2026
7 of 8 checks passed
@fangsmile
fangsmile deleted the fix/celltype-function-undefined branch August 3, 2026 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant