SHARE
TWEET

Untitled

alessio22 Jan 31st, 2019 92 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. for(var i=0; i < data_get.body["skill_levels"].length; i++){
  2.   this.skill_levels.push({id: data_get.body["skill_levels"][i]["id"], tcode: data_get.body["skill_levels"][i]["name"]});
  3. }
  4.  
  5. this.skillForm.controls["skill_level_id"].setValue(skill_level_id);
  6.  
  7.  
  8.  
  9. <ion-select value="" ok-text="Ok" cancel-text="Annulla" formControlName="skill_level_id"
  10.                        style="white-space: pre-line !important" >
  11.  
  12.          <ion-select-option *ngFor="let skill_level of skill_levels" [value]="skill_level['id']">{{ skill_level['name'] }}</ion-select-option>
  13. </ion-select>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top