Changeset 59329aa for trip-planner-front/src/app/locations-form
- Timestamp:
- 11/23/21 14:58:44 (3 years ago)
- Branches:
- master
- Children:
- e29cc2e
- Parents:
- ceaed42
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trip-planner-front/src/app/locations-form/locations-form.component.html
rceaed42 r59329aa 22 22 <mat-form-field appearance="fill" class="example-full-width"> 23 23 <mat-label>Please select a city</mat-label> 24 <mat-select [(ngModel)]="cityId" placeholder="Select city" name="city" >24 <mat-select [(ngModel)]="cityId" placeholder="Select city" name="city" > 25 25 <mat-option [value]="city.id" *ngFor="let city of cities" > {{city.name}}</mat-option> 26 26 </mat-select>
Note:
See TracChangeset
for help on using the changeset viewer.