placeholder for displayname

pull/21833/head
Matthew Hodgson 2016-01-15 13:11:37 +00:00
parent e1e46be220
commit f2dc1e835b
1 changed files with 3 additions and 1 deletions

View File

@ -99,7 +99,9 @@ module.exports = React.createClass({
var EditableText = sdk.getComponent('elements.EditableText');
return (
<EditableText ref="displayname_edit" initialValue={this.state.displayName}
label="Click to set display name."
className="mx_EditableText"
placeholderClassName="mx_EditableText_placeholder"
placeholder="No display name"
onValueChanged={this.onValueChanged} />
);
}