Angularjs and ui-select dropdown close when search
up vote
0
down vote
favorite
this is my plunker: http://next.plnkr.co/edit/oi8DB7OH6rYbuRPH?preview
I search item on ui-select; when i try to type '-' the dropdown will be close.
Why???? thank's.
angularjs ui-select
add a comment |
up vote
0
down vote
favorite
this is my plunker: http://next.plnkr.co/edit/oi8DB7OH6rYbuRPH?preview
I search item on ui-select; when i try to type '-' the dropdown will be close.
Why???? thank's.
angularjs ui-select
1
because you are displaying it withcod.annoFlusso+'-'+cod.progressivoFlusso
, meaning-
was never part of the data that you search for. You need a custom filter that will mergeannoFlusso
andprogressivoFlusso
into a single string with-
in between, so that you can filter through this new string instead of an object
– Aleksey Solovey
Nov 7 at 9:14
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
this is my plunker: http://next.plnkr.co/edit/oi8DB7OH6rYbuRPH?preview
I search item on ui-select; when i try to type '-' the dropdown will be close.
Why???? thank's.
angularjs ui-select
this is my plunker: http://next.plnkr.co/edit/oi8DB7OH6rYbuRPH?preview
I search item on ui-select; when i try to type '-' the dropdown will be close.
Why???? thank's.
angularjs ui-select
angularjs ui-select
asked Nov 7 at 9:08
Bonci Marco
66129
66129
1
because you are displaying it withcod.annoFlusso+'-'+cod.progressivoFlusso
, meaning-
was never part of the data that you search for. You need a custom filter that will mergeannoFlusso
andprogressivoFlusso
into a single string with-
in between, so that you can filter through this new string instead of an object
– Aleksey Solovey
Nov 7 at 9:14
add a comment |
1
because you are displaying it withcod.annoFlusso+'-'+cod.progressivoFlusso
, meaning-
was never part of the data that you search for. You need a custom filter that will mergeannoFlusso
andprogressivoFlusso
into a single string with-
in between, so that you can filter through this new string instead of an object
– Aleksey Solovey
Nov 7 at 9:14
1
1
because you are displaying it with
cod.annoFlusso+'-'+cod.progressivoFlusso
, meaning -
was never part of the data that you search for. You need a custom filter that will merge annoFlusso
and progressivoFlusso
into a single string with -
in between, so that you can filter through this new string instead of an object– Aleksey Solovey
Nov 7 at 9:14
because you are displaying it with
cod.annoFlusso+'-'+cod.progressivoFlusso
, meaning -
was never part of the data that you search for. You need a custom filter that will merge annoFlusso
and progressivoFlusso
into a single string with -
in between, so that you can filter through this new string instead of an object– Aleksey Solovey
Nov 7 at 9:14
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53186358%2fangularjs-and-ui-select-dropdown-close-when-search%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
because you are displaying it with
cod.annoFlusso+'-'+cod.progressivoFlusso
, meaning-
was never part of the data that you search for. You need a custom filter that will mergeannoFlusso
andprogressivoFlusso
into a single string with-
in between, so that you can filter through this new string instead of an object– Aleksey Solovey
Nov 7 at 9:14