Enforce 30 character limit on wallet name.

feature/default_network_editable
Kevin Serrano 8 years ago
parent c41c4f719f
commit 86a1eaadf1
  1. 1
      CHANGELOG.md
  2. 1
      ui/app/components/editable-label.js

@ -4,6 +4,7 @@
- Fixed bug where MetaMask interfered with PDF loading. - Fixed bug where MetaMask interfered with PDF loading.
- Moved switch account icon into menu bar. - Moved switch account icon into menu bar.
- Now enforce 30 character limit on wallet names.
## 2.4.4 2016-06-23 ## 2.4.4 2016-06-23

@ -18,6 +18,7 @@ EditableLabel.prototype.render = function () {
return h('div.editable-label', [ return h('div.editable-label', [
h('input.sizing-input', { h('input.sizing-input', {
defaultValue: props.textValue, defaultValue: props.textValue,
maxLength: "30",
onKeyPress: (event) => { onKeyPress: (event) => {
this.saveIfEnter(event) this.saveIfEnter(event)
}, },

Loading…
Cancel
Save