|
|
@ -18,7 +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", |
|
|
|
maxLength: '30', |
|
|
|
onKeyPress: (event) => { |
|
|
|
onKeyPress: (event) => { |
|
|
|
this.saveIfEnter(event) |
|
|
|
this.saveIfEnter(event) |
|
|
|
}, |
|
|
|
}, |
|
|
|