-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Mention提及中nzSuggestions无法做到动态更新 #5722
Comments
@changshuxiaohuge 为什么不用 |
(nzOnSearchChange)在第一次输入@时会触发,但是第二次继续输入@时就不会再触发了 |
@hsuanxyz https://codesandbox.io/s/zen-glitter-lhb7m?file=/src/app/app.component.ts ,同时用到@和#时,如果我输入@,第一次是会触发(nzOnSearchChange),但是第二次输入@并且后面不继续输入任何值的时候,(nzOnSearchChange)就不会被触发了 |
@changshuxiaohuge got,这是一个 BUG |
@hsuanxyz 这个问题是否会兼容ng-zorro7.5版本 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What problem does this feature solve?
在使用Mention组件时,一开始没有对nzSuggestions进行赋值,因为需要在用户选择某一个字段后才能根据这个字段获取nzSuggestions对应的值,现在选择字段之后nzSuggestions还是一个空的数组,只有在输入框内输入@并在@后再输入一些值,才能将nzSuggestions的值更新
What does the proposed API look like?
nzSuggestions双向数据绑定,动态刷新nzSuggestions的值
The text was updated successfully, but these errors were encountered: