@hicoder/angular-cli
Version:
Angular UI componenets and service generator. It works with the mean-rest-express package to generate the end to end web application. The input to this generator is the Mongoose schema defined for the express application. mean-rest-express exposes the Res
10 lines (9 loc) • 440 B
HTML
<div class="d-flex justify-content-center my-5" [ngStyle]="style['select-container']">
<div class="mb-3 list-selection" [ngStyle]="style['select']">
<select class="form-control" id="select<%-schemaName%>"
(change)="dropdownChanged($event.target.selectedIndex)"
name="select<%-schemaName%>">
<option *ngFor="let detail of list; let i = index" [ngValue]="detail._id">{{detail.mddsDisplayName}}</option>
</select>
</div>
</div>