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

u-checkbox-group是否考虑加入value属性,支持数据绑定 #1300

Open
chenlong0525 opened this issue May 20, 2024 · 0 comments
Open

Comments

@chenlong0525
Copy link

这个功能解决了什么问题?

不再依靠每个checkbox的ischecked属性去显示是否选中,直接给u-checkbox-group设置选中的数组完成数据绑定

你期望的 API 是怎样的?

此处我借用了uview 2.0的代码,当然,项目里一直用的uview1.0,更希望再1.0版本中能支持直接绑定数据

<u-checkbox-group
v-model="checkboxValue1"
placement="column"
@change="checkboxChange"
>


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

1 participant