Questions tagged [angular2-select]

10 questions
2
votes
1 answer

Selected item in dropdown didn't show in Angular 2/4

I am trying to develop a dropdown in my Angular application. The Drop Down is shop list. When I select a shop it will show or (display) the content in the shop. But when I change the drop down, the drop down will change but the content of the…
Akhil
  • 381
  • 1
  • 8
  • 22
1
vote
0 answers

what is parent stand in selector in angular 2

import { Component, Input } from "@angular/core"; import "./loadingSpinner.component.css!"; @Component({ selector: "loading-spinner-Parent", template: `
Jp Javiya
  • 21
  • 5
1
vote
1 answer

How to make one option preselect in ng-select using angular2

I had add popup field, when the popup opens i want to get one field to be preselected with its option, i am getting the required value in console but its not reflecting on html. Can anyone help me to solve this issue. HTML:
Bhrungarajni
  • 2,415
  • 11
  • 44
  • 88
1
vote
2 answers

How to get the options inside ng-select in angular2 or typescript

i have installed angular2-select and have defined that in module.ts as well. But when i click on select button, there are 2 contents but the contents are not visible, can anyone help me to solve this. HTML:
Bhrungarajni
  • 2,415
  • 11
  • 44
  • 88
1
vote
0 answers

Selected Item not shown on UI in angular 2 select

I am trying to set selected value in drop down by passing value from back-end. I am able to set selected attribute true for option I want, but it does not reflect on UI. When I view elements of page in browser I can see it correctly being set but…
1
vote
1 answer

angular2-select is not filling with the dynamic data

I have an add group module on which there is user list for which I am using angular2-select for multiple selections. The add group page open on click of a button. Here is the code
Sunil Garg
  • 14,608
  • 25
  • 132
  • 189
0
votes
0 answers

angular2-select cannot set the default value

Trying to use ( in angular4 ) this angular2 select component, angular2-select. The docs is here. The example given is working with simple variable. SelectedValue = '3'; Data binding is working fine. ( I suppose ) But in my case, I am binding to…
Hao
  • 6,291
  • 9
  • 39
  • 88
0
votes
2 answers

How to add angular2-select in each row of table in angular2.Each row having checkbox.

I added the checkbox in each row of table and each row having angular2 select also.I checked the first and second row.Then I select from first row's angular2 select.I want the selected option of first row should updated to all checked row angular2…
Mohit
  • 335
  • 3
  • 10
  • 19
-1
votes
1 answer

select options from two dropdown lists and after that when a button is clicked it redirect to the URL related to the options

suppose I select the first select1 option1 it should automatically show me the list of the options in select 2 and when I select option 2 in select1 it should show me a list of options in select2 and after selecting the options from two dropdown…
Pixie Dust
  • 19
  • 3
-1
votes
1 answer

suppose I select the first select option it should show me the list of the second select option. How can I do it in angular?

suppose I select the first select1 option1 it should automatically show me the list of the options in select 2 and when I select option 2 in select1 it should show me a list of options in select2. How can I do it in angular2?
Pixie Dust
  • 19
  • 3