Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

make directive to return dropdown values angular

<select (change)="onChange($event)">
    <option *ngFor="let v of values" [value]="v.id">{{v.name}}</option>
</select>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #directive #return #dropdown #values #angular
ADD COMMENT
Topic
Name
7+5 =