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

ng-autocomplete component no blur or focus event? #2885

Closed
Churchson opened this issue Feb 13, 2019 · 0 comments
Closed

ng-autocomplete component no blur or focus event? #2885

Churchson opened this issue Feb 13, 2019 · 0 comments

Comments

@Churchson
Copy link

What problem does this feature solve?

i want to use javascript to listen the enter event, but the input tag was blur, the autocomplete option is still showing, it is not hidden. I can't found anyway to control it when i trigger the blur event.

What does the proposed API look like?

event name: blur(), focus()
attribute name: isFocus

hsuanxyz added a commit to hsuanxyz/ng-zorro-antd that referenced this issue Feb 18, 2019
Ricbet pushed a commit to Ricbet/ng-zorro-antd that referenced this issue Apr 9, 2020
…NG-ZORRO#2916)

* feat(module:auto-complete): close panel when the trigger element blur

close NG-ZORRO#2885

* test(module:auto-complete): add the feat test
hsuanxyz added a commit to hsuanxyz/ng-zorro-antd that referenced this issue Aug 5, 2020
…NG-ZORRO#2916)

* feat(module:auto-complete): close panel when the trigger element blur

close NG-ZORRO#2885

* test(module:auto-complete): add the feat test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants