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 /ui | |
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.
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/components/editable-label.js | 1 |
1 files changed, 1 insertions, 0 deletions
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) }, |