mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:55:00 +08:00
placeholder for displayname
This commit is contained in:
parent
e1e46be220
commit
f2dc1e835b
@ -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} />
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user