This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
OpenSource
/
dify
Watch
4
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
152
Wiki
Activity
Browse Source
fix: trim whitespace from URL input in file uploader component
#16700
(
#16722
)
tags/1.2.0
GuanMu
7 months ago
parent
05c6d57f29
commit
0811a23cd4
No account linked to committer's email address
1 changed files
with
1 additions
and
1 deletions
Split View
Show Diff Stats
1
1
web/app/components/base/file-uploader/file-from-link-or-local/index.tsx
+ 1
- 1
web/app/components/base/file-uploader/file-from-link-or-local/index.tsx
View File
@@ -74,7 +74,7 @@ const FileFromLinkOrLocal = ({
value={url}
onChange={(e) => {
setShowError(false)
setUrl(e.target.value)
setUrl(e.target.value
.trim()
)
}}
disabled={disabled}
/>
Write
Preview
Loading…
Cancel
Save