1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-21 11:27:18 +00:00

delete placeholder

This commit is contained in:
shanshuirenjia
2018-12-17 13:16:13 +08:00
parent de3a9fe001
commit 1631100aff
2 changed files with 1 additions and 3 deletions

View File

@@ -112,10 +112,9 @@ class CreateFile extends React.Component {
<FormGroup> <FormGroup>
<Label for="fileName">{gettext('Name')}</Label> <Label for="fileName">{gettext('Name')}</Label>
<Input <Input
id="fileName"
onKeyPress={this.handleKeyPress} onKeyPress={this.handleKeyPress}
innerRef={input => {this.newInput = input;}} innerRef={input => {this.newInput = input;}}
id="fileName"
placeholder={gettext('new name')}
value={this.state.childName} value={this.state.childName}
onChange={this.handleChange} onChange={this.handleChange}
/> />

View File

@@ -62,7 +62,6 @@ class CreateForder extends React.Component {
<Label for="folderName">{gettext('Name')}</Label> <Label for="folderName">{gettext('Name')}</Label>
<Input <Input
id="folderName" id="folderName"
placeholder={gettext('new name')}
value={this.state.childName} value={this.state.childName}
innerRef={input => {this.newInput = input;}} innerRef={input => {this.newInput = input;}}
onKeyPress={this.handleKeyPress} onKeyPress={this.handleKeyPress}