Hi All
I don't know why this error comes --
Can't bind to 'ngForIn' since it isn't a known property of 'option'.
This is my html tag --
<select class="form-control" [(ngModel)]="selectedAccount"
name="selectedAccount" val="true "id="launched">
<option *ngFor="let account in
accounts">{{account}}</option>
</select>
I have accounts[] in my component definition file. Yet I get this error? Is
my syntax of ngFor wrong?
Thanks.
Regards
Sandeep
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.