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加入checked属性判断是否选中 #1544

Open
beibei87970 opened this issue Oct 31, 2022 · 0 comments
Open

radio加入checked属性判断是否选中 #1544

beibei87970 opened this issue Oct 31, 2022 · 0 comments
Labels
Feature Issue 提出了一个新功能

Comments

@beibei87970
Copy link

Feature 名称:radio加入checked属性判断是否选中

简要描述:boolean类型的checked属性判断当前是否选中,和微信小程序原生的radio一样

使用场景:例如问卷调查时读取用户已填答案进度时,若是仅用现有的radio-group中的current,还需要额外的判断所有选项的checked哪个为true,然后获取key赋给current,若是加入checked属性的话,就可以直接判断checked值了。
因为current值并不是总能提前得知的。

其他组件库或类似功能的截图:

@beibei87970 beibei87970 added the Feature Issue 提出了一个新功能 label Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Issue 提出了一个新功能
Projects
None yet
Development

No branches or pull requests

1 participant