Ngx-bootstrap: typeaheadScrollable doesn't work

Created on 14 Nov 2017  路  4Comments  路  Source: valor-software/ngx-bootstrap

When i use typeaheadScrollable, i got always the error.
Even with the example in the documentation.

console.js:32 Unhandled Promise rejection: Template parse errors:
Can't bind to 'typeaheadScrollable' since it isn't a known property of 'input'. (" [typeahead]="states"
[ERROR ->][typeaheadScrollable]="true"
[typeaheadOptionsInScrollableView]="5"
class="form-control">
"):

comp(typeahead) reproduce

Most helpful comment

Hey @mikone I am getting same error. so what was the wrong in it & what the solution?

All 4 comments

Which version of ngx-bootstrap are you using?
Also, could you create a plunkr/stackblitz with reproduction?
You can use one of starter templates:
Plunkr: https://plnkr.co/edit/0NipkZrnckZZROAcnjzB?p=preview
StackBlitz: https://stackblitz.com/edit/ngx-bootstrap?file=app%2Fapp.module.ts

Hi @IlyaSurmay the error was mine, please close the issue.
I'am sorry

Hey @mikone I am getting same error. so what was the wrong in it & what the solution?

@mikone please elaborate on what exactly was the cause of this error. I also have this problem and have a hard time figuring out what happened. It works without the scrollable but not with.

Was this page helpful?
0 / 5 - 0 ratings