Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: #359 avoid having descriptions with longer lengths than allowed …
…in the backend
  • Loading branch information
enriquezrene committed Jun 9, 2020
commit c6cc9bf08d7cdc09a9faa6d212ef13bbb17ae5ad
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@

<div class="form-group text-left">
<label for="NotesTextarea">Description</label>
<textarea formControlName="description" class="form-control" id="NotesTextarea" rows="3"></textarea>
<textarea maxlength="1500" formControlName="description" class="form-control" id="NotesTextarea" rows="3"></textarea>
</div>
<div class="modal-footer">
<button type="submit" class="btn btn-primary" [disabled]="!entryForm.valid">Save</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
<span class="input-group-text span-width">Description</span>
</div>
<textarea
maxlength="1500"
(blur)="onSubmit()"
formControlName="description"
class="form-control"
Expand Down