fixed (#1141)
This commit is contained in:
parent
3d779734c3
commit
aa318e0d2d
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ class NewFolderForm extends React.Component {
|
|||
|
||||
render() {
|
||||
const {
|
||||
fields: { name }, handleSubmit, submitting, pristine
|
||||
fields: { name }, handleSubmit
|
||||
} = this.props;
|
||||
return (
|
||||
<form
|
||||
|
@ -34,7 +34,7 @@ class NewFolderForm extends React.Component {
|
|||
ref={(element) => { this.fileName = element; }}
|
||||
{...domOnlyProps(name)}
|
||||
/>
|
||||
<input type="submit" value="Add Folder" disabled={submitting || pristine} aria-label="add folder" />
|
||||
<input type="submit" value="Add Folder" aria-label="add folder" />
|
||||
{name.touched && name.error && <span className="form-error">{name.error}</span>}
|
||||
</form>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue