Skip to content

Commit

Permalink
#8412 Set ng-maxlength and maxlength attributes on the tag input in u…
Browse files Browse the repository at this point in the history
…mb-tags-editor.html to avoid a string or binary data would be truncated error when the entered tag exceeds the database column length
  • Loading branch information
gareth-evans-sniper authored and nul800sebastiaan committed Jul 14, 2020
1 parent e6f2641 commit 6fc8126
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
ng-model="vm.tagToAdd"
ng-keydown="vm.addTagOnEnter($event)"
ng-blur="vm.addTag()"
ng-maxlength="200"
maxlength="200"
localize="placeholder"
placeholder="@placeholders_enterTags" />

Expand Down

0 comments on commit 6fc8126

Please sign in to comment.