We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
提问前先看看:
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md
属组件:LightFilter+ProFormSelect
如果单选,每选中一个,期望下拉项自动消失,就像是Select一样
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
根据你描述的问题,你希望在选择下拉框选项后,下拉框能自动关闭。根据你提供的代码和情况,可能是由于组件版本的问题导致的。如果你使用的是3.11.0及以上版本,该问题应该已经解决。如果你仍然在使用旧版本,可以尝试在 <Select> 组件中添加 getPopupContainer={trigger => trigger.parentElement} 来在弹出层中渲染组件,或者使用其他的 getXxxxContainer 参数。另外,如果你使用的是Pro自带的组件,Pro v5.2.0之后内置了SettingDrawer组件,你可以通过对 initialValues 的控制来调整布局的状态。可以参考相关 issue:#3487 #3438。希望这些解决方法能帮到你!
<Select>
getPopupContainer={trigger => trigger.parentElement}
getXxxxContainer
initialValues
No branches or pull requests
提问前先看看:
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md
🔩 所属模块或组件
属组件:LightFilter+ProFormSelect
🥰 需求描述
如果单选,每选中一个,期望下拉项自动消失,就像是Select一样
🚑 其他信息
The text was updated successfully, but these errors were encountered: