- Timestamp:
- 10/19/21 16:40:43 (3 years ago)
- Branches:
- master
- Children:
- 6a80231
- Parents:
- eed0bf8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trip-planner-front/src/app/locations-form/locations-form.component.html
reed0bf8 r188ee53 3 3 <div class="example-form"> 4 4 5 <div class=" d-block">5 <div class="form-group"> 6 6 <button class="btn" (click)="chooseCityOption()" > 7 7 City … … 35 35 <mat-form-field appearance="fill" class="example-full-width"> 36 36 <mat-label>Please select a city</mat-label> 37 <mat-select [(ngModel)]=" locationId" placeholder="Select city">37 <mat-select [(ngModel)]="cityId" placeholder="Select city"> 38 38 <mat-option [value]="city.id" *ngFor="let city of cities" [value]="city.id"> {{city.name}}</mat-option> 39 39 </mat-select> 40 40 </mat-form-field> 41 41 </div> 42 42 43 43 44 <div *ngIf="regionOption"> … … 62 63 <mat-form-field class="example-full-width" appearance="fill"> 63 64 <mat-label>Please select a number of days</mat-label> 64 <input matInput placeholder="No. Days" type="number" [(ngModel)]="lengthOfStay">65 <input matInput placeholder="No. Days" type="number" min="1" value="0" max="30" [constraintMaxNumberDays()] [(ngModel)]="lengthOfStay"> 65 66 </mat-form-field> 66 67 … … 68 69 <mat-chip-list selectable multiple> 69 70 <mat-chip #c="matChip" selected *ngFor="let category of categories" 70 (click)="toggleSelection(c, category)" 71 (click)="toggleSelection(c, category)"> 71 72 <mat-icon *ngIf="!c.selected" >check</mat-icon> 72 73 {{category.name}} 73 74 </mat-chip> 74 75 </mat-chip-list> 76 <br> 75 77 <button mat-raised-button color="primary" (click)="createMyPlanner()">Create my planner</button> 76 77 78 78 79 </div>
Note:
See TracChangeset
for help on using the changeset viewer.