diff --git a/frontend/src/components/FileManager.tsx b/frontend/src/components/FileManager.tsx index e0d596d58..2e42274ac 100644 --- a/frontend/src/components/FileManager.tsx +++ b/frontend/src/components/FileManager.tsx @@ -130,6 +130,7 @@ const FileManager: React.FC = ({ selectedTool }) => { onDrop={handleNewFileUpload} onDragEnter={() => setIsDragging(true)} onDragLeave={() => setIsDragging(false)} + accept="*/*" multiple={true} activateOnClick={false} style={{ diff --git a/frontend/src/components/fileManager/HiddenFileInput.tsx b/frontend/src/components/fileManager/HiddenFileInput.tsx index 664162863..6f2834267 100644 --- a/frontend/src/components/fileManager/HiddenFileInput.tsx +++ b/frontend/src/components/fileManager/HiddenFileInput.tsx @@ -9,6 +9,7 @@ const HiddenFileInput: React.FC = () => { ref={fileInputRef} type="file" multiple={true} + accept="*/*" onChange={onFileInputChange} style={{ display: 'none' }} data-testid="file-input" diff --git a/frontend/src/components/shared/LandingPage.tsx b/frontend/src/components/shared/LandingPage.tsx index 99ecab279..11ecb6b6b 100644 --- a/frontend/src/components/shared/LandingPage.tsx +++ b/frontend/src/components/shared/LandingPage.tsx @@ -33,7 +33,7 @@ const LandingPage = () => { {/* White PDF Page Background */} { ref={fileInputRef} type="file" multiple - accept=".pdf,.zip" + accept="*/*" onChange={handleFileSelect} style={{ display: 'none' }} /> @@ -145,4 +145,4 @@ const LandingPage = () => { ); }; -export default LandingPage; \ No newline at end of file +export default LandingPage;