-
Notifications
You must be signed in to change notification settings - Fork 34
dropdown is not opening after search in ng select2 #10
Comments
Dear I don't understand the issue could you please make a minimal reproducible example using stackblitz.com? What is the behaviour you expect? |
I need when we search in textbox . After search we bind data in [data]=[select2data].
Problem After Response Dropdown Html.
Dropdown hides after search. its visible after click on textbox. but on click on textbox dropdown visible : fine Issue in code debugger halts d.prototype._registerSelectionEvents = function() { its problem in toggling function |
I'm not finding the link to minimal reproducible example using stackblitz.com, could you please share this link with me? |
you try same code with Angular try with subscribe and save response [data]="select2data "
The way subscribe works. Problem is after saving subscribe response for example sample data this.select2data = [ After subscribe response dropdown hides. dropdown only visible after you click on textbox that's bug. Thanks |
Thank you for the further explaining of the issue. Could you please give me the link to minimal reproducible example using stackblitz.com? |
stackblitz https://stackblitz.com/edit/angular-dtcqnc ERROR |
Thank you for the link.
This issue comes from that you include jquery using angular.json. See: stackblitz/core#407 I have build the project locally and everything works fine. Because there is no issue in your project I'm going to close the issue for now. Keep me updated when the issue persists. |
Your project doesn't have stackblitz demo. as you said it will not work on stackblitz. why can't you try to build a demo using Angular 8 on stackblitz. can you please try with my code above . by subscribing you replicate error.
|
Sorry to hear that you don't like this open source project and the volunteer support of the maintainers. Please fork us so that you can make this project even better! Keep us posted with the progress you make so that we can push it upstream. |
Hi
I had problem after search specific keyword dropdown is not opening after search for keyword.
i need to click on textbox then dropdown populates.
html
Angular code
This class gets hidden after click on textbox its is visible.
Problem
when class "select2-container select2-container--default select2-container--open" is visible after click on textbox.
After Ajax Response this class gets hides.
Ng select2 class
Also please guide i need after search list should be empty.
can you please guide anything im missing.
i have replicated problem im using https://github.com/tealpartners/ng-select2/tree/master/src/app/demos/multiple
for static select2 as well as dynamic.
because as soon you search list of data show be available in list.
please have a look.
The text was updated successfully, but these errors were encountered: