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

👑 [需求] 建议优化ModalForm组件visibleopen #8843

Open
uzhan opened this issue Nov 1, 2024 · 0 comments
Open

👑 [需求] 建议优化ModalForm组件visibleopen #8843

uzhan opened this issue Nov 1, 2024 · 0 comments

Comments

@uzhan
Copy link

uzhan commented Nov 1, 2024

🔩 所属模块或组件

ModalForm

🥰 需求描述

在使用trigger作为按钮,用于触发 Modal 打开时,内部将visible 改为 open以适应新版本的antd组件库

⛰ 功能需求适用场景

弹窗表单使用场景在使用trigger作为按钮,浏览器不再提示 Warning: [antd: Modal] visible will be removed in next major version, please use open instead. Error Component Stack

🧐 解决方案

内部将visible 改为 open

🚑 其他信息

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