Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

autocomplete: various improvements #20

Merged
merged 1 commit into from
Mar 30, 2020
Merged

autocomplete: various improvements #20

merged 1 commit into from
Mar 30, 2020

Conversation

CarterLi
Copy link

  1. add @change event
    添加 @change 事件
    Autocomplete: add change event ElemeFE/element#17913
  2. don't prevent when suggestions are not visible
    在备选列表不可见时不要preventDefault键盘事件
    AutoComplete: enable keyup&keydown when there is no suggestions ElemeFE/element#17472
  3. allow fetchSuggestions returns a promise or an array
    允许fetchSuggestions直接返回数组或一个promise对象
  4. add show-all-on-focus prop
    添加show-all-on-focus属性
  5. use tab for selection like enter
    允许使用tab键选择

Please make sure these boxes are checked before submitting your PR, thank you!

  • Make sure you follow Element's contributing guide (中文 | English | Español | Français).
  • Make sure you are merging your commits to dev branch.
  • Add some descriptions and refer relative issues for you PR.

1. add `@change` event
ElemeFE#17913
2. don't prevent when suggestions are not visible
ElemeFE#17472
3. allow `fetchSuggestions` returns a promise or an array
4. add `show-all-on-focus` prop
5. use tab for selection like enter
@ZJL8 ZJL8 merged commit 7b780af into EOITek:dev Mar 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants