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

[Radio] 按钮单选框在设置t-radio-button的value为0时无法正常切换 #1049

Closed
vabora opened this issue Jun 22, 2022 · 4 comments
Closed
Assignees
Labels
to be published to be published

Comments

@vabora
Copy link

vabora commented Jun 22, 2022

tdesign-vue-next 版本

0.16.1

重现链接

效果地址:
https://angular-clw9wy--3000.local.webcontainer.io
代码地址:
https://stackblitz.com/edit/angular-clw9wy?file=src%2Fdemo.vue

重现步骤

当[Radio]组件为单选按钮组时,设置variant=default-filled。其中子元素[t-radio-button]的值设为0,或者false都无法正常显示和切换。
代码如下:
<t-radio-group variant="default-filled"> <t-radio-button :value="0">选项为0</t-radio-button> <t-radio-button :value="false">选项为false</t-radio-button> <t-radio-button :value="1">选项一</t-radio-button> <t-radio-button value="2">选项二</t-radio-button> </t-radio-group>

期望结果

可以正常显示和切换

实际结果

No response

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

@github-actions
Copy link
Contributor

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

@github-actions
Copy link
Contributor

github-actions bot commented Jun 22, 2022

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

@PengYYYYY
Copy link
Collaborator

#1026 这个pr修复了,等下一个版本

@PengYYYYY PengYYYYY added the to be published to be published label Jun 22, 2022
@PengYYYYY
Copy link
Collaborator

0.17.0已修复

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

No branches or pull requests

3 participants