385 questions
0
votes
0
answers
90
views
@ng-select opens and closes immediately on mouse click
Using @ng-select (Angular 19 / @ng-select/[email protected]) with Lazy Loading.
If I click the dropdown with the mouse it opens up and closes immediately.
If I hold the mouse button pressed it stays ...
0
votes
0
answers
33
views
Clicking outside ng-select that is inside Swiper-js doesn't close the dropdown
I have an angular application v17 that is using swiper-js. In each swiper-slide I have a ng-select dropdown.
Had an issue where the dropdown didn't open, that was fixed by the latest answer on this ...
2
votes
1
answer
101
views
Ng-Select - Set multiple dropdown values
we are using NG-SELECT trying a create multiple forms with drop-down , we are trying to update the value of all dropdowns when one of the dropdown is updated but unable to find the correct node or ...
1
vote
1
answer
99
views
Angular ng-select: preselection by binding to an object doesn't work until focus
I am facing an issue with the ng-select component in my Angular app.
When I bind an object to a formControlName using Reactive Forms and set an initial value for the form control, the value is not ...
0
votes
0
answers
18
views
How to put icons inside the drop-down in Angular [duplicate]
I have a icon component. Then I have a dropDown component which I have build using ng-select.
Then there is Home page where I want to dropdown to show up.
The dropdown is dynamic, I have created an ...
0
votes
1
answer
536
views
cannot use ng select component in my angular application
In my angular application i was trying to use ng-select for showing drop downs. my angular version is 17 and it only supports ng select v12.
i use standalone components in my application , when i am ...
2
votes
1
answer
85
views
Angular Reactive Form - ng-select in form array works remotely but fails when it's online
What I expect to achieve is selecting a product that comes with a price, adding the quantity, and then selecting another product still from that same list of products. The challenge is this works as ...
0
votes
2
answers
124
views
Preventing Alt+Enter from Changing Value in ng-select Dropdown in Angular
I'm using ng-select in an Angular project, and I'm running into an issue with the Alt+Enter key combination. When the dropdown is open and I press Alt+Enter, it automatically selects the first item in ...
2
votes
1
answer
77
views
ng-select how to get any property of selected item/object into html template
I have angular v16 app with page that uses reactive form and one of the field - array. Also I'm using ng-select v11 package with array of objects that separated by groupId:
[{id: 1, name: 'name', ...
1
vote
2
answers
85
views
How to return ng-select in typescript?
I am trying to add ng-select & ng-option in typescript (angular). But I am not sure if that is possible since ng-select is a component which is not rendered. How can I make this work?
@Component({
...
0
votes
1
answer
625
views
Disable Item selection on ng-select. Overriding the default item selection of ng-select
I am using an angular-multiselect component in my code where in I upload the list of items and then populate the [data] variable of the angular-multiselect. This lists the list of data with checkboxes ...
0
votes
2
answers
281
views
ng-select style is broken angular 14
I added the ng-select to the application. In case I am putting the ng-select inside a mat-form-field the style of the compoents is broken:
The ng-select is encapsulated inside an angular component. ...
0
votes
1
answer
620
views
how to control the display of the selected elements in ng-select
i can't limit the display of selected options in ng-select in angular
Is there a way I can control the display of selected items in ng-select? Currently, with numerous options and a 'select all' ...
0
votes
1
answer
428
views
ng-select don't open until N characters typed
I have an ng-select which I've configured to use typeahead to perform backend searching as described here: https://medium.com/@sangumallikharjuna/ng-select-typeahead-with-debouncetime-to-fetch-server-...
1
vote
3
answers
604
views
How to wrap ng-select in custom form controller?
I've tried to create a stackblitz to show what I'm talking about, but I cannot get it to work at all so I'm resorting to just asking for help. I have 2 components:
Component 1 is a custom form ...