<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Select fruit <span class="caret"></span></a>
<ul class="dropdown-menu">
<li *ngFor="let fruit of Vegetables.Fruits">
<a href="#">{{fruit.Name}}</a>
</li>
</ul>
</li>
With above bootstrap component, when I select a value from the dropdown, it should show the selected value in that dropdown. Can someone help me out with this Problem ?
<select ...><option ...></option><option ...></option></select>?