mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-01 20:36:21 -05:00
Focusing on lone input when opening modals.
This commit is contained in:
parent
756c063d15
commit
4dfb997bfc
5 changed files with 8 additions and 4 deletions
|
|
@ -84,7 +84,7 @@ export function AddToPlaylistModal({open, onClose, items = [], onComplete}) {
|
|||
<Form onSubmit={handleCreateAndAdd} style={{marginTop: '1em'}}>
|
||||
<Form.Field>
|
||||
<label>Or create a new playlist</label>
|
||||
<Input placeholder='New playlist name...' value={newName}
|
||||
<Input autoFocus placeholder='New playlist name...' value={newName}
|
||||
onChange={(e, {value}) => setNewName(value)}/>
|
||||
</Form.Field>
|
||||
</Form>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue