autocomplete: fix suggestions list #177
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Old version of the third party library
ngx-bootstrap
had sometime wiredbehaviors. A hack to avoid a form submission when a suggestion
selected with a return key has been removed. Moreover, the autocomplete
can use angular navigation to go to a record detailed view, the
corresponding detailed view component should observe the route to change
his content when the url change.
ngx-bootstrap
version 3.6.2.ngx-bootstrap
.ngx-bootstrap
imports to be angular 9 andngx-bootstrap>6
compliant.
Note: several versions of
ngx-bootstrap
has been tried, but some ofthem failed:
typeahead
suggestion list for slow query.Co-Authored-by: Johnny Mariéthoz Johnny.Mariethoz@rero.ch
Required by
Why are you opening this PR?
How to test?
Code review check list