mirror of https://github.com/vector-im/riot-web
placeholder for displayname
parent
e1e46be220
commit
f2dc1e835b
|
@ -99,7 +99,9 @@ module.exports = React.createClass({
|
||||||
var EditableText = sdk.getComponent('elements.EditableText');
|
var EditableText = sdk.getComponent('elements.EditableText');
|
||||||
return (
|
return (
|
||||||
<EditableText ref="displayname_edit" initialValue={this.state.displayName}
|
<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} />
|
onValueChanged={this.onValueChanged} />
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue