Autofocus input in Create Parent Item dialog (#4476)
This commit is contained in:
parent
804b2d1216
commit
255de649ca
1 changed files with 4 additions and 3 deletions
|
@ -56,12 +56,13 @@ function CreateParent({ loading, item, toggleAccept }) {
|
|||
<input
|
||||
id="parent-item-identifier"
|
||||
size="50"
|
||||
disabled={ loading }
|
||||
onChange={ handleInput }
|
||||
autoFocus={true}
|
||||
disabled={loading}
|
||||
onChange={handleInput}
|
||||
/>
|
||||
<div
|
||||
mode="undetermined"
|
||||
className={ cx('downloadProgress', { hidden: !loading }) }
|
||||
className={cx('downloadProgress', { hidden: !loading })}
|
||||
>
|
||||
<div className="progress-bar"></div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue