Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] The dropdown fill operation in the sheet cell will clear the custom attribute of the filled cell #4581

Open
2 tasks done
levi-li-yi opened this issue Feb 5, 2025 · 0 comments
Assignees
Labels
bug Something isn't working scope:auto fill

Comments

@levi-li-yi
Copy link

levi-li-yi commented Feb 5, 2025

Before you submit this issue, have you checked the following

  • Is this really a problem?
  • I have searched the Github Issues for similar issues, but did not find anything.

Affected packages and versions

0.5.5

Reproduction link

New install: Following https://docs.univer.ai/en-US/guides/sheets/getting-started/installation

const sheet = univerAPI.getActiveWorkbook().getActiveSheet()

sheet.getRange('A1').setValue({
      v: 'value a',
      custom: {
        key: 'custom1',
      },
    })

sheet.getRange('A2').setValue({
      v: 'value b',
      custom: {
        key: 'custom2',
      },
    })

Expected behavior

After filling the A1 cell down into the A2 cell, the value of the A2 cell is replaced, the original custom attribute of cell A2 is still retained

Actual behavior

but the custom property of the A2 cell disappears

System information

System:
OS: Windows 11 10.0.26100
CPU: (16) x64 AMD Ryzen 7 PRO 5875U with Radeon Graphics
Memory: 5.85 GB / 31.31 GB
Binaries:
Node: 18.3.0 - C:\Program Files\nodejs\node.EXE
npm: 8.11.0 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: Chromium (129.0.2792.89)
Internet Explorer: 11.0.26100.1882

@univer-bot univer-bot bot added the bug Something isn't working label Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working scope:auto fill
Projects
None yet
Development

No branches or pull requests

4 participants