Ng2-select: can't select item when searching

Created on 3 Feb 2017  路  6Comments  路  Source: valor-software/ng2-select

I can't select text item when searching in the plugin.

screen shot 2017-02-03 at 1 19 08 pm

here is my code in html
<ng-select [items]="ticketOptionList.accountList" (data)="refreshValueforAccount($event)" (selected)="selectedAccount($event)" [active] = "initialDataForAccount"> </ng-select>

But when I click the item in blank area it will work

Most helpful comment

hacked-searching ng2-select-mit
I found this problem, problem is HighlightPipe alway transform text, so we can't click on this test, we can click select outsite the label and then i fixed by my way.
In file select-pipe.jp, function HighlightPipe.prototype.transform, i added "return value;".
So it's not bold style when we searching but we can select result.

Expect MIT fix this issue.
Thank you.

All 6 comments

Hi, i got this problem too. We need support.

hacked-searching ng2-select-mit
I found this problem, problem is HighlightPipe alway transform text, so we can't click on this test, we can click select outsite the label and then i fixed by my way.
In file select-pipe.jp, function HighlightPipe.prototype.transform, i added "return value;".
So it's not bold style when we searching but we can select result.

Expect MIT fix this issue.
Thank you.

+1

I seem to have something similar -sometimes I can click on an item (without searching) and sometimes I cannot - it's a very frustrating user experience

I am still getting this issue even after changing select-pipes.js.

+1

Was this page helpful?
0 / 5 - 0 ratings

Related issues

253936563 picture 253936563  路  5Comments

Cadenei picture Cadenei  路  4Comments

Garybhardwaj picture Garybhardwaj  路  3Comments

Hasnain-Bukhari picture Hasnain-Bukhari  路  3Comments

ronzeidman picture ronzeidman  路  3Comments