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

🐛[BUG] ProFormDependency 在QueryFilter 中不生效 #8067

Closed
hsbtr opened this issue Jan 11, 2024 · 3 comments · Fixed by #8212
Closed

🐛[BUG] ProFormDependency 在QueryFilter 中不生效 #8067

hsbtr opened this issue Jan 11, 2024 · 3 comments · Fixed by #8212

Comments

@hsbtr
Copy link

hsbtr commented Jan 11, 2024

🐛 bug 描述

QueryFilter中只有初始化的时候,ProFormDependency才能监听到值,或者发生onFinish事件触发后;在ProForm和ModalForm中则不会有问题

📷 复现步骤

QueryFilter使用ProFormDependency监听任意表单项目

🏞 期望结果

可以正确的监听到值变化

💻 复现代码

https://codesandbox.io/p/sandbox/cha-xun-shai-xuan-sou-suo-forked-s8hm3p

© 版本信息

  • ProComponents 版本: 2.6.44
  • vite or webpack
  • 浏览器环境
  • 开发环境 windows 10
@hsbtr
Copy link
Author

hsbtr commented Jan 18, 2024

这个问题这么冷门的嘛,都没有人遇到过

@ONLY-yours
Copy link
Collaborator

确实蛮奇怪的,在 ProTable 里面顶部 Search 是好的,但是单独使用就挂了

@xliez
Copy link
Contributor

xliez commented Mar 6, 2024

#7611
这个 pr 中引入了这个 BUG

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.

3 participants