Submit a new display name on blur of input field
This commit is contained in:
parent
f85c452e35
commit
7a092e4ac7
3 changed files with 13 additions and 3 deletions
|
@ -53,6 +53,7 @@ module.exports = React.createClass({
|
|||
<EditableTextContainer
|
||||
getInitialValue={this._getDisplayName}
|
||||
placeholder="No display name"
|
||||
blurToSubmit={true}
|
||||
onSubmit={this._changeDisplayName} />
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue