ViewUI icon indicating copy to clipboard operation
ViewUI copied to clipboard

[Feature Request]希望Select组件能自定义过滤函数&远程搜索模式下关闭默认过滤行为

Open aralynn opened this issue 5 years ago • 6 comments

What problem does this feature solve?

  1. 不是所有的搜索都默认想要匹配字符(特别是远程模式下)
  2. 默认匹配字符行为有问题 #88

What does the proposed API look like?

  1. 提供Select Prop => filter-method: Function
  2. 若remote为true,只执行remote-method,不额外执行默认过滤行为

aralynn avatar Oct 24 '19 02:10 aralynn

直接重写

xlieee avatar Dec 12 '19 05:12 xlieee

+1 me too

skyfore avatar Feb 21 '20 09:02 skyfore

希望能在远程搜索下,关闭filterable的默认搜索行为或提供filter-method: Function。在很多场景中,后端会对单个搜索框内容进行多字段的模糊搜索。默认过滤行为使选项列表不能完全展示

874435441 avatar May 10 '22 08:05 874435441

和ant-design 还是不少差距的

mrlionn avatar Sep 05 '23 07:09 mrlionn

远程过滤的时候,我只能暂时把其它查询关键字放到value里,取值的时候,再解析出来

git-lt avatar Nov 17 '23 03:11 git-lt

请问这怎么解决的

grace618 avatar Nov 29 '23 08:11 grace618