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

react中引入Button组件的disabled属性设置为true时,onClick方法还可以触发点击事件? #15765

Open
Nceco opened this issue May 23, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Nceco
Copy link

Nceco commented May 23, 2024

这个特性解决了什么问题?

希望在Button组件设置disabled属性为true后,可以不触发点击事件;
开发者不需要手动在函数内存return;

这个 API 长什么样?

希望在Button组件设置disabled属性为true后,可以不触发点击事件;

@ZEJIA-LIU
Copy link
Contributor

请问是哪个端,麻烦根据issue模版,补充好必要的信息

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants