We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.1.8
No response
界面引入t-radio-group,options将value=0的放到最后,即可复现。
index.wxml如下:
<t-radio-group bind:change="onChange" value="{{current}}" options="{{options}}" />
index.js如下:
Page({ data: { current: 1, options: [ { value: 1, label: '单选value=1' }, { value: 0, label: '单选value=0' }, ], }, onChange(event) { const { value } = event.detail; this.setData({ current: value }); } });
被选中那行显示选中状态
点击“单选value=1”选中了两个
点击“单选value=0”一个都没选中
2.31.0
以服务端定义的枚举值做为value,且显示顺序不按0/1/2/3...
The text was updated successfully, but these errors were encountered:
👋 @CanvaChen,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
Sorry, something went wrong.
@CanvaChen
Successfully merging a pull request may close this issue.
tdesign-miniprogram 版本
1.1.8
重现链接
No response
重现步骤
界面引入t-radio-group,options将value=0的放到最后,即可复现。
index.wxml如下:
index.js如下:
期望结果
被选中那行显示选中状态
实际结果
点击“单选value=1”选中了两个
点击“单选value=0”一个都没选中
基础库版本
2.31.0
补充说明
以服务端定义的枚举值做为value,且显示顺序不按0/1/2/3...
The text was updated successfully, but these errors were encountered: