Permalink
Browse files

Step 17.7: Change ngModel to location.name

  • Loading branch information...
1 parent 0f22afb commit d9ed1ca147ff1267fa3cf5c492c3859f6e6e79bf @dotansimha dotansimha committed with DAB0mB Sep 27, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 client/imports/app/parties/party-details.component.html
@@ -6,7 +6,7 @@
<input [disabled]="!isOwner" type="text" [(ngModel)]="party.description" name="description">
<label>Location</label>
- <input [disabled]="!isOwner" type="text" [(ngModel)]="party.location" name="location">
+ <input [disabled]="!isOwner" type="text" [(ngModel)]="party.location.name" name="location">
<button [disabled]="!isOwner" type="submit">Save</button>
<a [routerLink]="['/']">Cancel</a>

0 comments on commit d9ed1ca

Please sign in to comment.