This commit is contained in:
Le Deng
2017-03-11 16:44:57 -05:00
parent ae51a4ad4b
commit 190058907a
10 changed files with 132 additions and 67 deletions

View File

@@ -99,7 +99,7 @@
</md-grid-tile>
</md-grid-list>
<md-input-container>
<textarea mdInput id="title" [(ngModel)]="newBook.description" name="description" placeholder="Description"></textarea>
<textarea mdInput id="title" [(ngModel)]="newBook.description" name="description" placeholder="Description" required></textarea>
</md-input-container>
Image &nbsp;
<input id="title" type="file" id="bookImage" name="bookImage" (change)="uploadImageService.fileChangeEvent($event)">