Guest User

Untitled

a guest
Apr 23rd, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. <select class="ui fluid multiple selection dropdown" id="multi-select">
  2. <option *ngFor="let objectif of listObjectif" [value]="objectif.id_obj">{{objectif.des_obj}}
  3. </option>
  4. </select>
  5.  
  6. this.selectedObjectif = <[any]>[];
  7. this.selectedObjectif = $('select#multi-select').dropdown('get value');
  8.  
  9. (2) ["1", Array(4)]
  10. 0:"1"
  11. 1:(4) ["1", "8", "3", "16"]
  12. length:2
Add Comment
Please, Sign In to add comment