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

Switch 组件受控问题 #633

Closed
bougieL opened this issue Sep 5, 2019 · 3 comments
Closed

Switch 组件受控问题 #633

bougieL opened this issue Sep 5, 2019 · 3 comments
Assignees
Labels
bug Something isn't working comp:switch low priority

Comments

@bougieL
Copy link
Contributor

bougieL commented Sep 5, 2019

Bug 描述
外部改变 Switch 组件的 checked 状态会触发 Switch 的 onChange 事件

可重现环境

  • HIUI 的版本: 2.2.0

应用 defaultChecked 和 checked 做区分

@bougieL bougieL added the bug Something isn't working label Sep 5, 2019
@solarjoker solarjoker assigned letyougo and bougieL and unassigned letyougo Sep 16, 2019
@solarjoker
Copy link
Collaborator

2.x 暂不支持

@Flcwl
Copy link
Collaborator

Flcwl commented Sep 22, 2019

不受控吗?怎么解决?

@solarjoker
Copy link
Collaborator

3.x 中已解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working comp:switch low priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants