commit
4b9eb8f346
3 changed files with 3 additions and 0 deletions
|
@ -160,6 +160,7 @@ export class FileNode extends React.Component {
|
|||
type="text"
|
||||
className="sidebar__file-item-input"
|
||||
value={this.props.name}
|
||||
maxLength="128"
|
||||
onChange={this.handleFileNameChange}
|
||||
ref={(element) => { this.fileNameInput = element; }}
|
||||
onBlur={() => {
|
||||
|
|
|
@ -29,6 +29,7 @@ class NewFileForm extends React.Component {
|
|||
id="name"
|
||||
type="text"
|
||||
placeholder="Name"
|
||||
maxLength="128"
|
||||
{...domOnlyProps(name)}
|
||||
ref={(element) => { this.fileName = element; }}
|
||||
/>
|
||||
|
|
|
@ -29,6 +29,7 @@ class NewFolderForm extends React.Component {
|
|||
className="new-folder-form__name-input"
|
||||
id="name"
|
||||
type="text"
|
||||
maxLength="128"
|
||||
placeholder="Name"
|
||||
ref={(element) => { this.fileName = element; }}
|
||||
{...domOnlyProps(name)}
|
||||
|
|
Loading…
Reference in a new issue