Questions tagged [angularjs-select]

AngularJS Core `

Resources

113 questions
0
votes
2 answers

Default value in angular js select from Server

Here is the Scenario I am getting Data from server in this form $scope.data=[ {"name":"xyz","status":"pending"}, {"name":"abc","status":"completed"}, {"name":"pqr","status":"completed"} ] This Data is Seprate GET call for different…
Sanjay B
  • 213
  • 1
  • 3
  • 11
0
votes
1 answer

ngOptions not binding model to data.

I am rendering a drop down list with ngOptions. This is how the view looks like: In the…
0
votes
4 answers

How to add option at first position in ng-options

I ng-option element in my page. Here how it looks in template: In controller: $scope.selectedItem = {}; $scope.items = [{name: 'one', id: 30 },{…
0
votes
3 answers

How can i change the selected ng-options option's name to something custom?

The following code will do the option name to the id. is not updating or displaying…
rolinger
  • 2,787
  • 1
  • 31
  • 53
0
votes
3 answers

issue with the ng-options not working in a simple array in AngularJS

I want to save the selected value and pop up the selected value . But when I add the ng- change directive the select stops functioning. If you remove the ng change the droplist is displayed. Help me out. This is my html
Tedsville
  • 21
  • 1
  • 5
0
votes
2 answers

ngChange a bunch of dropdowns

So I need to entirely change a group of drop downs that appear based on the selection of one dropdown. I believe ngChange is the way to go about it, but I am not entirely sure how to change between two sets of divs (or if that is even the best way…
tonestrike
  • 320
  • 6
  • 22
0
votes
1 answer

How to set value to model in AngularJS using select with array of objects

I'm new to AngularJS and I'm trying to solve one problem in most elegant way. I have list that comes from server and used as the source for select tag's option's in my application. Lets assume that it's a list of authors which looks like this: [ {…
0
votes
1 answer

Marking default value in Selectbox while using two array in Angular

I build a control using an Object that I get it from external source. var field= { "attributeName": "Country", "dbColumnName": "location", "fieldType": "DROP_DOWN", "optionName": ['US', 'AUS', 'UK', 'IND'], …
teenu
  • 684
  • 2
  • 8
  • 24
0
votes
1 answer

How to change variable properties according to drop-down menu item?

I have a drop-down menu populated with ng-options.
Select Currency
Slimshadddyyy
  • 4,085
  • 5
  • 59
  • 121
0
votes
1 answer

how to keep selected option from user when views are changed

Demo: I have a dropdown, and options are being fecthed from JSON. say