diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2016-06-29 02:30:55 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2016-06-29 02:30:55 +0800 |
commit | 86a1eaadf188b0879ae41a5fa125649ad51f0118 (patch) | |
tree | aa1b2f5f4d8b05e81b2415b3bd00418f4b6a3f40 | |
parent | c41c4f719fe3638ec05594283101c81e2552203e (diff) | |
download | tangerine-wallet-browser-86a1eaadf188b0879ae41a5fa125649ad51f0118.tar tangerine-wallet-browser-86a1eaadf188b0879ae41a5fa125649ad51f0118.tar.gz tangerine-wallet-browser-86a1eaadf188b0879ae41a5fa125649ad51f0118.tar.bz2 tangerine-wallet-browser-86a1eaadf188b0879ae41a5fa125649ad51f0118.tar.lz tangerine-wallet-browser-86a1eaadf188b0879ae41a5fa125649ad51f0118.tar.xz tangerine-wallet-browser-86a1eaadf188b0879ae41a5fa125649ad51f0118.tar.zst tangerine-wallet-browser-86a1eaadf188b0879ae41a5fa125649ad51f0118.zip |
Enforce 30 character limit on wallet name.
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | ui/app/components/editable-label.js | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 113bf1ab7..86671c9cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - Fixed bug where MetaMask interfered with PDF loading. - Moved switch account icon into menu bar. +- Now enforce 30 character limit on wallet names. ## 2.4.4 2016-06-23 diff --git a/ui/app/components/editable-label.js b/ui/app/components/editable-label.js index 3d7ca17d4..6b3e8cb28 100644 --- a/ui/app/components/editable-label.js +++ b/ui/app/components/editable-label.js @@ -18,6 +18,7 @@ EditableLabel.prototype.render = function () { return h('div.editable-label', [ h('input.sizing-input', { defaultValue: props.textValue, + maxLength: "30", onKeyPress: (event) => { this.saveIfEnter(event) }, |