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] change时只会显示当前选中的 #2544

Closed
ARotterGoodMan opened this issue Jan 10, 2024 · 7 comments
Closed

[Checkbox] change时只会显示当前选中的 #2544

ARotterGoodMan opened this issue Jan 10, 2024 · 7 comments

Comments

@ARotterGoodMan
Copy link

tdesign-miniprogram 版本

重现

重现链接

No response

重现步骤

No response

期望结果

No response

实际结果

No response

基础库版本

No response

补充说明

No response

Copy link
Contributor

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

@betavs
Copy link
Collaborator

betavs commented Jan 10, 2024

不太清楚你的问题🤔

@ARotterGoodMan
Copy link
Author

Uploading this.png…

@ARotterGoodMan
Copy link
Author

ARotterGoodMan commented Jan 10, 2024

不太清楚你的问题🤔

image

点击一个组里的只会返回一个结果

@betavs
Copy link
Collaborator

betavs commented Jan 10, 2024

CheckboxGroup 中触发 change 事件,会返回选中的所有结果。目前测试无法复现,方便提供复现代码吗 🤔

@ARotterGoodMan
Copy link
Author

ARotterGoodMan commented Jan 10, 2024

CheckboxGroup 中触发 change 事件,会返回选中的所有结果。目前测试无法复现,方便提供复现代码吗 🤔

1704880311693
image

@betavs
Copy link
Collaborator

betavs commented Jan 11, 2024

<t-checkbox-group t-class="box" borderless bind:change="onChange" defaultValue="{{demoCheckboxMax}}">
<t-checkbox block="{{false}}" value="checkbox1" label="多选标题" />
<t-checkbox block="{{false}}" value="checkbox2" label="多选标题" />
<t-checkbox block="{{false}}" value="checkbox3" label="上限四字" />
</t-checkbox-group>

在当前版本1.2.6中测试效果如下

image

由此看来,此问题还是无法复现,可以的话将整个项目提交到GitHub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants