Questions tagged [ngx-select-dropdown]

ngx-select-dropdown is custom dropdown component for Angular 4+ with multiple and single selection options.

18 questions
5
votes
0 answers

How to validate ngx-select-dropdown on from submit?

I have a form in which i used ngx-select-dropdown with angular7. In my form select option is required. I want to validate it on form submitting. But my validate methods are not working with ngx-select-dropdown library, and in documentation of…
3
votes
2 answers

how to pass data in form of array of objects?

I am using the package ngx select dropdown in my angular 5 project and wanted to know how I pass an array of objects instead of an array of strings. Currently, If I am doing so it's showing [Object Object] as options in the dropdown. data=[ { …
2
votes
3 answers

Don't know how to set options in ngx-select-dropdown Angular 8

I would like to get a dropdown list in my component. In my HTML i have And in TypeScript file: this.list = [ {id:1,display:'job'}, {id:2,display:'task'}, ]; …
1
vote
0 answers

Pre-populate ng select - multiple select with data from api

I can't get the multi-select data to populate, but the single select one works. Directed below is the HTML for the single select part that displays pre-populated data that works

Current Type:

1
vote
0 answers

how to post ngx-select-dropdown to web api

I'm using ngx-select-dropdown then we will get the data from the database. HTML
Yan
  • 149
  • 1
  • 9
1
vote
0 answers

How to unselect a value from ngx-select-dropdown for multiple as false? (duplicate quesiton) but no question provided

I am facing the same issue detailed given to this link. How to unselect a value from ngx-select-dropdown for multiple as false? I could not find any answer. here is my code.
Talib Daryabi
  • 733
  • 1
  • 6
  • 28
1
vote
1 answer

How to set default value in ngx-dropdown-list

What i want is on refresh the page i want to get the value from API and add as selected in the select list. Here the syntax
rajwa766
  • 604
  • 13
  • 31
1
vote
3 answers

Auto select value in dropdown

How do I set a value as the default selected value in the dropdown? I am using angular 8. I have the following html
Karu
  • 935
  • 2
  • 13
  • 32
1
vote
1 answer

Angular ngx-select-dropdown: dropdown options not updating

I am new to angular so it can be quite a simple problem. I'm using ngx-select-dropdown (a dropdown control). There are two dropdown controls on the page and when the first dropdown changes, the second dropdown should update the dropdown options. The…
OPunktSchmidt
  • 671
  • 1
  • 9
  • 25
0
votes
0 answers

Open ngx-select-dropdown by some button click angular

I want to open a ngx-select-dropdown on button click in angular component. Can someone have any idea how to do that? I tried @ViewChild('nexdropdown') nexdropdown: any = SelectDropDownModule; clickFunction() { …
Sajjad Ahmed
  • 349
  • 1
  • 3
  • 12
0
votes
1 answer

the width of ngx-select-dropdown its not working using table

im using table and the size of ngx-select-dropdown is too small? i tried css, but its not working here is my code in html
Yan
  • 149
  • 1
  • 9
0
votes
1 answer

ngx-select-dropdown makes page blank

Im trying to use nix-select-dropdown to make a searchable dropdown for store id's. I originally created the page with just a input box and everything worked fine. As soon as I added the ngx-select-dropdown eventing after this tag does not show up…
0
votes
1 answer

Remove unselected value from dropdown array - ngx-select-dropdown

context: Angular applications using the ngx-select-dropdown. A user can select multiple values, these values get sorted into "buckets" and sent to the api. Issue: I am unable to remove a selected item from the end array - this.filterState. I have…
Tom Rudge
  • 3,188
  • 8
  • 52
  • 94
0
votes
1 answer

ngx-select-dropdown change style of place holder default value

I am using ngx-select-dropdown for angular project. my config is { 'search': true, 'placeholder': "Select", "searchPlaceholder": "search", 'noResultsFound': 'No results found!', 'clearOnSelection': true, 'height': '150px' }; what i have right now…
young_minds1
  • 1,181
  • 3
  • 10
  • 25
0
votes
1 answer

ngx-select dropdown giving error, expected 0 argument but got 1 while running the build

I am using ngx select dropdown in my angular package I have done everything correctly and its working fine but while running build I'm getting an error, for which I'm stuck and can't move forward. pls, help. In dropdown component HTML…
Vishnu Shenoy
  • 862
  • 5
  • 18
1
2