Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

select组件可否支持远程搜索 #469

Open
natsu0728 opened this issue Apr 24, 2019 · 0 comments
Open

select组件可否支持远程搜索 #469

natsu0728 opened this issue Apr 24, 2019 · 0 comments
Assignees

Comments

@natsu0728
Copy link

natsu0728 commented Apr 24, 2019

目前只支持本地搜索,虽然通过filterMethod可以模拟获取远程候选项,但有缺点:

  1. 需要限制filterMethod只执行一次
  2. 必须留一个selectOption占位
  3. options列表变化时,之前已经选中的选项如果不在新搜索到的列表里,选择框selectText因为没有缓存,就会变成空

希望可以原生支持remoteMethod参数,根据关键字从后端获取查询到的候选项

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

No branches or pull requests

2 participants