Merge pull request #1771 from iammursal/main

fix(import): Changing 'Filetype' clears the 'File' upload field properly
This commit is contained in:
Amruth Pillai
2024-03-10 10:15:52 +01:00
committed by GitHub

View File

@ -256,7 +256,7 @@ export const ImportDialog = () => {
<FormControl>
<Input
type="file"
key={accept}
key={`${accept}-${filetype}`}
accept={accept}
onChange={(event) => {
if (!event.target.files || !event.target.files.length) return;