0
// this.data = [{value: 'damon'}];
// this.dataOrf = [{value: 'damon'}, {value: 'mean'}]

<md-select multiple ng-model="$ctrl.data" aria-label="data">
   <md-option ng-value="opt" ng-repeat="opt in $ctrl.dataOrf track by opt.value">
       {{opt.value}}
   </md-option>
</md-select>

All I want is to initiate multi-select dropdown with this.data and return the updated array of an object when the user makes any changes.

Problem: multi-select dropdown is not initiated that means dropdown options are not getting selected according to the model provided.

Deamon
  • 109
  • 3
  • 10

1 Answers1

0

seems like you are assigning damon object to value property

What about changing your property value to

this.data = [{value: 'damon'}];
this.dataOrf = [{value: 'damon'}, {value: 'mean'}]

rafaelsr
  • 133
  • 1
  • 8
  • I just for to quote. this.data = [{value: 'damon'}]; this.dataOrf = [{value: 'damon'}, {value: 'mean'}] is what I am using. – Deamon Oct 06 '17 at 13:48