allow to upload same file more than once
This commit is contained in:
parent
906fbd82e0
commit
7f3ec4bc69
1 changed files with 3 additions and 0 deletions
|
|
@ -148,6 +148,9 @@ function InputToolbar(props: InputToolbarProps) {
|
|||
for (const file of files) {
|
||||
props.onImageFileSelected?.(file);
|
||||
}
|
||||
if (fileInputRef.current) {
|
||||
fileInputRef.current.value = "";
|
||||
}
|
||||
}}
|
||||
/>
|
||||
<HoverItem className="">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue