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

🧐[问题] ProFormSelect.SearchSelect 组件提示警告showArrow` is deprecated which will be removed in next major version #7784

Closed
PeiRunWu opened this issue Oct 15, 2023 · 0 comments · Fixed by #7793

Comments

@PeiRunWu
Copy link

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

🧐 问题描述

我代码里面没有showArrow 这个,但一直提示警告报错
<ProFormSelect.SearchSelect name={'roleList'} label={'所属角色'}/>
添加这个组件之后提示警告,
警告信息:
index.js:1 Warning: [antd: Select] showArrow is deprecated which will be removed in next major version. It will be a default behavior, you can hide it by setting suffixIcon to null.

image 警告信息: index.js:1 Warning: [antd: Select] `showArrow` is deprecated which will be removed in next major version. It will be a default behavior, you can hide it by setting `suffixIcon` to null.

💻 示例代码

image

🚑 其他信息

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

Successfully merging a pull request may close this issue.

1 participant