Skip to content

Commit

Permalink
Step 17.7: Change ngModel to location.name
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha authored and DAB0mB committed Dec 14, 2016
1 parent 0f22afb commit d9ed1ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/imports/app/parties/party-details.component.html
Expand Up @@ -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>
Expand Down

0 comments on commit d9ed1ca

Please sign in to comment.