Questions tagged [angularjs-select]

AngularJS Core `

Resources

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: . How can I change this to a text that says Please select one?
fanhats
  • 777
  • 2
  • 10
  • 20
3
votes
1 answer

ng auto select value in angularjs

How i select auto select value if option is only one
Rjun
  • 396
  • 3
  • 16
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
2 answers

AngularJS - get the value of the selected

I got a problem with ng-model and ng-selected. At the beginning the ng-model is null, and the correct value is selected. So if you submit the form: { resolution : undefined, desiredFps : 30 } And it's incorrect. So, I want that the model of the…
1
2 3 4 5 6 7 8