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

5.11.2 版本下的ColorPicker组件,在使用Form全局配置disabled为true时,没有继承禁用状态。 #45976

Closed
wangmaixi opened this issue Nov 21, 2023 · 0 comments · Fixed by #45978
Assignees
Labels
🐛 Bug Ant Design Team had proved that this is a bug.

Comments

@wangmaixi
Copy link

Reproduction link

https://ant.design/~demos/components-color-picker-demo-disabled/

Steps to reproduce

在from上设置disabled上,ColorPicker不生效。

<Form disabled={true}>
    <ColorPicker  />;
</Form>

What is expected?

在From上设置disabled上,ColorPicker禁用也生效。

What is actually happening?

在From上设置disabled上,ColorPicker不生效。

Environment Info
antd 5.11.2
React 18.0
System Mac
Browser chrome
@RedJue RedJue added the 🐛 Bug Ant Design Team had proved that this is a bug. label Nov 21, 2023
@RedJue RedJue self-assigned this Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Ant Design Team had proved that this is a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants