-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
NbAutocomplete is not working on nebular 9.0.0 #2991
Comments
Hi! Please, make sure that it is not your case: #2852 (comment). |
Hi! Try start to enter any symbols in field. 3 or 4 symbols. Nothing happens. Then click on the field and you will see options |
You should use this.terms$ = this.inputFormControl.valueChanges.pipe(
startWith(''),
switchMap((term: string) => this.searchTerms(term))
); |
@katebatura This solution does NOT work when you fetch the autocomplete options from a DB. My web app was working as expected before upgrading nebular to 9.0.0 and angular to 13.3.4, but now it has the bug that @hexdecimal16 described. I've tried using Also, the initial autocomplete menu values ( My Typescript:
My HTML:
|
@katebatura So today I updated @nebular/theme to version 10.0.0 and I realized that this bug has not yet been fixed... To make things simpler, I decided to make a video showcasing the bug that I described in detail in my previous comment on this thread. Here it is: As you can see, setting initial autocomplete options does NOT work and every keystroke is always lagging one step behind the autocomplete results. PLEASE... can someone fix this?? |
Same here with @nebular/theme version 10.0.0 |
Issue type
I'm submitting a ... (check one with "x")
Issue description
Current behavior:
Nbautocomplete is not working on nebular 9.0.0 and angular 13. The issue is that the dropdown is not shown until user clicks the input again,
Expected behavior:
Suggestion dropdown should show as the user types letter.
Steps to reproduce:
Initialise an angular project with version 13 and nebular 9.0.0 and try to use nbautocomplete where filtering is done serverside.
Other information:
npm, node, OS, Browser
Angular, Nebular
The text was updated successfully, but these errors were encountered: