mirror of
https://github.com/vee1e/mitmproxy.git
synced 2026-09-02 02:37:15 +00:00
[web] Fix line breaking in StringSequenceOption.
This commit is contained in:
parent
c2f0b94fb7
commit
cbf5db9a4f
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ function StringSequenceOption({ value, onChange, ...props }) {
|
|||
return <textarea
|
||||
rows={height}
|
||||
value={value.join('\n')}
|
||||
onChange={e => onChange(e.target.value.split("\n").filter(x => x.trim()))}
|
||||
onChange={e => onChange(e.target.value.split("\n"))}
|
||||
{...props}
|
||||
/>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue