AngularJS Core `
Questions tagged [angularjs-select]
113 questions
                    
                    80
                    
            votes
                
                12 answers
            
        Remove Blank option from Select Option with AngularJS
I am new to AngularJS. I searched a lot, but it does not solve my problem.
I am getting a blank option for the first time in select box.
Here is my HTML code
    
        
        
            
            
                
                    
    
    
         
    
    
                
            
        
    
                    
                
                     
    
    
        iCode
        
- 8,892
- 21
- 57
- 91
                    48
                    
            votes
                
                8 answers
            
        Angular adds strange options into select element when setting model value
I have a select element defined as such:
                    7
                    
            votes
                
                2 answers
            
        Default text in Angular select
By default angular uses an empty value if nothing has been selected in a 
         
    
    
        fanhats
        
- 777
- 2
- 10
- 20
                    4
                    
            votes
                
                3 answers
            
        Using
I have this anchor tag and i change my view depending on the date coming from the object. I am trying to change it to be a select option but it is not working the way i am doing it.
This is anchor tag syntax:
 
            
            
                
                    
    
    
         
    
    
                
            
        
     
    
    
        Hesham El Masry
        
- 363
- 2
- 8
- 21
                    4
                    
            votes
                
                4 answers
            
        ng-change function Calling on-load before selecting
Calling ng-change="changeStudentStatus();" function on-load, before selecting options.
   
        
            
            
                
                    
    
    
         
    
    
                
            
        
      
 
    
    
        Snopzer
        
- 1,602
- 19
- 31
                    4
                    
            votes
                
                1 answer
            
        AngularJS populate select trough ng-options with simple Map
I didn't find anything that can help me on this trouble.
I need to populate a select in an angular project. The problem is simple, all the other selects that I populated I had a json data like this
[{"id":1, "value":"A"},{"id":1,…
         
    
    
        Fabrizio P
        
- 241
- 3
- 13
                    3
                    
            votes
                
                2 answers
            
        :AngularJS: ng-selected is not working with a true statement
I have a a select box like this:
    
    
                    3
                    
            votes
                
                1 answer
            
        ng auto select value in angularjs
How i select auto select value if option is only one 
    
                    3
                    
            votes
                
                3 answers
            
        Not able to select previously selected option
ng-change is not getting fired after selection of previously selected option.
Because of which I am not able to handle the same next selection.
                    3
                    
            votes
                
                2 answers
            
        How can I use ng-select group by for boolean value, with an order and label?
I have some data:
0: {id: 1, name: "hhh", description: "hhh", isPopular: false,…}
1: {id: 2, name: "bbb", description: "bbb", isPopular: true,…}
2: {id: 3, name: "ccc", description: "ccc", isPopular: false,…}
3: {id: 4, name: "ddd", description:…
         
    
    
        StuperUser
        
- 10,555
- 13
- 78
- 137
                    2
                    
            votes
                
                1 answer
            
        Angular ng-options preselect a value using an option datasource
I have an object like so:
$scope.properties = {
    1: 'Option A',
    2: 'Option B',
    3: 'Option C'
};
And an ng-model variable like so:
$scope.selectedValue = 2;
And some markup like so:
    
                    2
                    
            votes
                
                4 answers
            
        AngularJS : Ng-Options in Array of Arrays inside select
I am trying show options from array of array inside a select drop down but it is not showing up. Can someone tell me what I am doing wrong here ? https://plnkr.co/edit/HMYbTNzkqkbAGP7PLWWB?p=preview
HTML :
   
 …
        
 
     
    