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

enhance suggestion #194

Merged
merged 3 commits into from
Sep 25, 2017
Merged

enhance suggestion #194

merged 3 commits into from
Sep 25, 2017

Conversation

Leesson
Copy link
Contributor

@Leesson Leesson commented Sep 22, 2017

对 Suggestion 组件更新如下:

  1. 增加匹配大小写参数matchCase
    当建议数据源包含英文时可能会有不区分大小写的需求,而当前实现严格匹配大小写。
  2. 增加匹配输入内容参数matchInput
    某些情况下不需要前端对数据源进行过滤,完全展示suggestions数据源。比如远程请求数据源执行后台sug时,sug规则可能不再是简单的根据字符匹配,这时不再需要前端过滤
    image

@wanluw wanluw merged commit 6efee90 into wmfe:2.0 Sep 25, 2017
@Leesson Leesson deleted the sugDebug branch September 28, 2017 06:35
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 this pull request may close these issues.

2 participants