mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-03 21:29:59 -05:00
URLs can be dropped onto download textarea.
This commit is contained in:
parent
7bf1c80847
commit
ae460af8d6
2 changed files with 37 additions and 2 deletions
|
|
@ -424,7 +424,7 @@ export function UrlsTextarea({name = 'urls', required, form}) {
|
|||
let urls = (inputProps.value || '').split('\n');
|
||||
urls = [...urls, droppedUrl];
|
||||
urls = urls.filter(i => !!i).join('\n');
|
||||
inputAttrs.setValue(`${urls}\n`);
|
||||
inputAttrs.localSetValue(`${urls}\n`);
|
||||
};
|
||||
|
||||
const handleKeyDown = (event) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue