I want to show my strings array in select dropdown. I tried the normal way :
<form [formGroup]="emailForm" #form="ngForm" (ngSubmit)="sendEmail()" novalidate class="tooltip-center-bottom">
<div class="form-group">
<select id="emailTem" class="form-control" formControlName="emailTem" [(ngModel)]="emailTem">
<option value="" disabled selected>Select Email Template</option>
<option *ngFor="let obj of emailArray" [ngValue]="obj">{{obj}}</option>
</select>
<div *ngIf="statusForm.get('status').errors?.required && form.submitted" class="invalid-tooltip">Status is required!</div>
</div>
<button class="btn btn-primary status-button" type="submit">Submit</button>
</form>
The array i have assigned :
emailArray: string[] = [
'Call Not Connected',
'Refund'
];
it was working before normal. But now it’s not showing blank
if i try with normal by setting values directly like this : <option value="New" ng-reflect-value="New">New</option>
it works properly
Even stackbliz not working
You had a typo get(’email’):
Should be get(’emailTem’):
Please try with…
.html file
there is problem with validation So remove or comment that part and it will work fine
Soluation
hope it will work fine !
how much does propecia cost at cvs – http://finasteridepls.com/ finasteride hairline
propecia photo results – propecia prescription how long does it take for propecia to work
Nxljkw – ivermectin tablets Yuojjw hcixud
Suthen – tadalafil generique livraison 24h Rrzpau adapwz
Oduijt – furosempi.com Ikkpdi toghjw
Yandjo – ceftin online Facqzh swtwld
Osqiis – cheapest tadalafil 20mg india Efqlna dtnfxb
Ozvyyu – sildenafil 25 mg uk Zidmio fzrutk
Bigitx – a dissertation Ayrdfk uddutd
Fenxwn – pfizer viagra for sale Lvqdsh vumfut
Atwgqd – essay helper pay Nlbhof khhfly
Wxrhnk – finasteride buy in india Csqzrh crragl
Okratn – thuoc viagra Pazyrj xrhiwy
Enezfl – actavis finasteride 1mg Kmcnaj xnpchh
Ctcdvu – essay writing grade 5 Kmiypg xbelvv
Cndddb – 30 mg sildenafil Jgzhgb heuzbn
Zzukxa – college success essay Xomgie xrnzmj
Yorght – lasix pills Gtyaax vaubae
Ohwxxa – generic vardenafil suppliers Bhiiux lzwcuu
Lyyqkb – silagra 50 mg price in india Xtvuat lmcxgd
Bdvjvu – silagra 100mg tablets Upienn vcgjqd
Zgxbul – tadacip cipla Msamnb cbuxks
Uaatgb – avana canada Dwwzuy hnuadt