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

[Component] [cascader] el-cascader 的 before-filter 参数在将输入框的东西清空后没有重新调用给的方法 #11194

Open
DianaYako opened this issue Jan 9, 2023 · 0 comments
Labels

Comments

@DianaYako
Copy link

Bug Type: Component

Environment

  • Vue Version: 3.2.37
  • Element Plus Version: 2.2.28
  • Browser / OS: Chrome 108.0.5359.125
  • Build Tool: Vite

Reproduction

Related Component

  • el-cascader

Reproduction Link

Element Plus Playground

Steps to reproduce

选中级联选择器 输入 123后
上访显示会变为:【搜索的值:123】
以次删除3,2,1,
上方显示会以次变为:【搜索的值:12】【搜索的值:1】
全部删除后 正常我觉得应该再次触发一次before-filter 这里没有触发

What is Expected?

在删除所有搜索值后再触发一次before-filter

What is actually happening?

全部删除后 正常我觉得应该再次触发一次before-filter 这里没有触发

Additional comments

没有了,这里也有可能是专门设计成这样的,但是在目前实际应用中 我需要远程搜索以及远程动态获取子项,并且在清空搜索后还原成最开始的样子 这里清空搜索后我没法重新去赋予选项了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant