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

[Form/FormItem] 视图问题 #2809

Closed
zindler323 opened this issue Mar 20, 2024 · 7 comments
Closed

[Form/FormItem] 视图问题 #2809

zindler323 opened this issue Mar 20, 2024 · 7 comments
Labels
🐞 bug Something isn't working to be published fixed, not be published

Comments

@zindler323
Copy link

zindler323 commented Mar 20, 2024

tdesign-react 版本

1.5.2

重现链接

https://codesandbox.io/p/sandbox/tdesign-react-demo-forked-k4nx7j?file=%2Fsrc%2Fdemo.jsx%3A90%2C1&layout=%257B%2522sidebarPanel%2522%253A%2522EXPLORER%2522%252C%2522rootPanelGroup%2522%253A%257B%2522direction%2522%253A%2522horizontal%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522id%2522%253A%2522ROOT_LAYOUT%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522cltwe0zry00073b6h42s97g2m%2522%252C%2522sizes%2522%253A%255B100%252C0%255D%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522EDITOR%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522id%2522%253A%2522cltwe0zry00033b6h0fmbz84m%2522%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522SHELLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522id%2522%253A%2522cltwe0zry00043b6hftmllbje%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522DEVTOOLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522id%2522%253A%2522cltwe0zry00063b6hej0z9qzn%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%252C%2522sizes%2522%253A%255B51.700805996676735%252C48.299194003323265%255D%257D%252C%2522tabbedPanels%2522%253A%257B%2522cltwe0zry00033b6h0fmbz84m%2522%253A%257B%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522cltwe0zry00023b6hnrtsjq2b%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522FILE%2522%252C%2522filepath%2522%253A%2522%252Fsrc%252Fdemo.jsx%2522%252C%2522state%2522%253A%2522IDLE%2522%252C%2522initialSelections%2522%253A%255B%257B%2522startLineNumber%2522%253A90%252C%2522startColumn%2522%253A1%252C%2522endLineNumber%2522%253A90%252C%2522endColumn%2522%253A1%257D%255D%257D%255D%252C%2522id%2522%253A%2522cltwe0zry00033b6h0fmbz84m%2522%252C%2522activeTabId%2522%253A%2522cltwe0zry00023b6hnrtsjq2b%2522%257D%252C%2522cltwe0zry00063b6hej0z9qzn%2522%253A%257B%2522id%2522%253A%2522cltwe0zry00063b6hej0z9qzn%2522%252C%2522tabs%2522%253A%255B%255D%257D%252C%2522cltwe0zry00043b6hftmllbje%2522%253A%257B%2522tabs%2522%253A%255B%255D%252C%2522id%2522%253A%2522cltwe0zry00043b6hftmllbje%2522%257D%257D%252C%2522showDevtools%2522%253Atrue%252C%2522showShells%2522%253Afalse%252C%2522showSidebar%2522%253Atrue%252C%2522sidebarPanelSize%2522%253A15%257D

重现步骤

访问重现链接,在界面中添加变量,选择类型,选择值,添加变量,选择类型,选择值,一直循环即可出现。

期望结果

No response

实际结果

No response

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

貌似与FormItem的effect: formMapRef.set formMapRef.delete相关

Copy link
Contributor

👋 @zindler323,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@HaixingOoO
Copy link
Collaborator

@zindler323 把截图的这个key去掉或者要么你就用id,不要用type当key

截屏2024-03-20 21 38 54

@zindler323
Copy link
Author

@zindler323 把截图的这个key去掉或者要么你就用id,不要用type当key

截屏2024-03-20 21 38 54

您好,key={type}是我不小心引入的另一个问题,我重新修改了下demo,请您再帮忙看下,谢谢

@HaixingOoO
Copy link
Collaborator

你能详细点说明或者给几张图是什么视图问题吗?🤔

@zindler323
Copy link
Author

你能详细点说明或者给几张图是什么视图问题吗?🤔

您好,我的操作如下:

image image

@HaixingOoO
Copy link
Collaborator

ok,我们看看!

@HaixingOoO HaixingOoO added the 🐞 bug Something isn't working label Mar 21, 2024
@uyarn uyarn added the to be published fixed, not be published label Apr 22, 2024
@HaixingOoO
Copy link
Collaborator

fixed 1.7.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working to be published fixed, not be published
Projects
None yet
Development

No branches or pull requests

3 participants