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、RadioGroup关闭基础库2.0后不能正常触发onChange #1023

Open
1 of 5 tasks
weiminghaoo opened this issue Jan 12, 2024 · 3 comments
Open
1 of 5 tasks

Radio、RadioGroup关闭基础库2.0后不能正常触发onChange #1023

weiminghaoo opened this issue Jan 12, 2024 · 3 comments

Comments

@weiminghaoo
Copy link

组件

Radio RadioGroup

基础库版本

  • 1.x
  • 2.x

设备机型

模拟器

手机系统

  • iOS
  • Android
  • HarmonyOS

APP

mPaas

组件库版本

2.22.0

预期行为

复现步骤

  1. 关闭基础库2.0

复现 demo

@DiamondYuan
Copy link
Collaborator

DiamondYuan commented Jan 12, 2024

不好意思,没复现。

我从官网下载了 radio group 的 demo , 测试一下是有效的。

https://ant-design-mini.antgroup.com/components/radio

image

点击箭头,可以成功触发 onchange 事件。

@weiminghaoo
Copy link
Author

weiminghaoo commented Jan 12, 2024

@DiamondYuan
Copy link
Collaborator

antd-mini 之前是基于 radio 组件的 onchange 事件开发的。 而基础库 1.0 没有这个事件,所以出问题了。

我在下个版本修复一下 onchange 的问题

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

2 participants