Guest User

Untitled

a guest
May 27th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. <div class="field">
  2. <label>Objectif</label>
  3. <select name="skills[]" class="ui fluid multiple selection dropdown" id="multi-select">
  4. <option *ngFor="let objectif of listObjectif" selected [value]="objectif.id_obj">{{objectif.des_obj}}
  5. </option>
  6. </select>
  7. </div>
  8. </div>
  9.  
  10. /*to enable multiple select */
  11. this.selectedObjectif = $('.multiple.selection.dropdown').dropdown('get value');
  12.  
  13. /**Just test an example then pass the list**/
  14. var values = 'Test,Prof,Off';
  15. $('#multi-select').val(values.split(','));
Add Comment
Please, Sign In to add comment