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

🤔SheetComponent设置为可编辑时,meta里面设置了formatter,但是在编辑的时候拿到的还是原数据,如何在可编辑的时候拿到格式化后的数据,设置了showOriginalValue并不生效 #2528

Closed
5 tasks
jzm-123 opened this issue Jan 25, 2024 · 8 comments · Fixed by #2549
Assignees
Labels
🐛 bug 这个是一个 bug ❔question 疑问/使用问题 released on @next released

Comments

@jzm-123
Copy link

jzm-123 commented Jan 25, 2024

🏷 Version

Package Version
@antv/s2
@antv/s2-react
@antv/s2-vue

Sheet Type

  • PivotSheet
  • TableSheet
  • GridAnalysisSheet
  • StrategySheet
  • EditableSheet

🖋 Description

🔗 Reproduce Link

😊 Expected Behavior

😅 Current Behavior

@jzm-123 jzm-123 added the ❔question 疑问/使用问题 label Jan 25, 2024
@lijinke666 lijinke666 added the 🐛 bug 这个是一个 bug label Feb 1, 2024
@lijinke666 lijinke666 self-assigned this Feb 1, 2024
@antvis antvis deleted a comment from github-actions bot Feb 5, 2024
@lijinke666 lijinke666 removed the 🐛 bug 这个是一个 bug label Feb 5, 2024
@lijinke666
Copy link
Member

lijinke666 commented Feb 5, 2024

你到底表达的是, 你想 input 框里面的值是原始值, 然后你想拿到格式化的值?

还是你指的是期望 input 框里面填充的是格式化后的值? showOriginalValue 和编辑表又有什么关系?

@lijinke666 lijinke666 added the 👀 need more info Issue/pr 描述太少, 没有可用信息 label Feb 5, 2024
Copy link
Contributor

github-actions bot commented Feb 5, 2024

你好 @jzm-123,你所提供的信息不足于我们排查问题, 请按照 issue 模板填写相关信息, 提供 gif, 截图, 代码片段, 配置信息, 版本号, 可复现链接等方式, 详细说明复现步骤, 感谢配合, 谢谢! 15 天内未回复issue自动关闭。

Hello, @jzm-123, the information you provided is not enough for us to troubleshoot the problem. Please complete the issue description, provide gifs, screenshots, config, version. And explain the reproduction steps in detail. Thanks so much for your cooperation! The issue will be closed without any replay within 15 days.

@jzm-123
Copy link
Author

jzm-123 commented Feb 5, 2024

我期望 input 框里面填充的是格式化后的值

Copy link
Contributor

你好 @jzm-123,很抱歉给你带来了不好的体验, 我们会尽快排查问题并修复, 请关注后续发布日志.

Hello, @jzm-123, We are so sorry for the bad experience. We will troubleshoot and fix the problem as soon as possible. Please pay attention to the follow-up change logs.

lijinke666 added a commit that referenced this issue Feb 23, 2024
* fix: 修复编辑表的输入框未回填格式化后的数据 close #2528

* fix: 修复循环引用

* fix: 编辑后不应该再次格式化

* fix: 移除定义

* test: 修复单测

* test: 增加单测
@lijinke666
Copy link
Member

🎉 This issue has been resolved in version @antv/s2-v1.54.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

🎉 This issue has been resolved in version @antv/s2-react-v1.46.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

lijinke666 added a commit that referenced this issue Feb 26, 2024
* fix: 修复编辑表的输入框未回填格式化后的数据 close #2528

* fix: 修复循环引用

* fix: 编辑后不应该再次格式化

* fix: 移除定义

* test: 修复单测

* test: 增加单测
@lijinke666
Copy link
Member

🎉 This issue has been resolved in version @antv/s2-v2.0.0-next.13 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

🎉 This issue has been resolved in version @antv/s2-react-v2.0.0-next.12 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug 这个是一个 bug ❔question 疑问/使用问题 released on @next released
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants