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

[checkbox] 异步options导致初始值无效 #2792

Closed
vonlyinno opened this issue Sep 7, 2023 · 3 comments
Closed

[checkbox] 异步options导致初始值无效 #2792

vonlyinno opened this issue Sep 7, 2023 · 3 comments
Assignees
Labels
🐞 bug Something isn't working

Comments

@vonlyinno
Copy link

tdesign-vue 版本

1.6.5

重现链接

https://stackblitz.com/edit/vujh77?file=src%2Fdemo.vue,package.json

重现步骤

实际使用时,表单的value和checkbox的options都是异步请求的数据,如果options耗时更久,设置的初始值初始未勾选且无法check。

企业微信截图_2ae642b4-592a-4b27-86e4-53d77c5d0325

期望结果

初始值能正常渲染

实际结果

No response

框架版本

2.6.14

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

@github-actions
Copy link
Contributor

github-actions bot commented Sep 7, 2023

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

@github-actions
Copy link
Contributor

github-actions bot commented Sep 7, 2023

♥️ 有劳 @chaishi @start940315 @honkinglin 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @vonlyinno

@chaishi
Copy link
Collaborator

chaishi commented Sep 7, 2023

fixed in #2793

已于 v1.6.6 中修复,2023-09-07

https://stackblitz.com/edit/vujh77-z15n7h?file=src%2Fdemo.vue,package.json

@github-actions github-actions bot mentioned this issue Sep 7, 2023
16 tasks
@chaishi chaishi closed this as completed Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants