Skip to content

Commit 2228dca

Browse files
committed
fix: allow drag in file to upload
1 parent bdac76c commit 2228dca

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

frontend/src/pages/UploadInvoicePage.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export default function UploadInvoicePage() {
131131
<CardDescription>Select or drag and drop your PDF invoice file to upload and process</CardDescription>
132132
</CardHeader>
133133
<CardContent>
134-
<form onSubmit={handleSubmit} className="space-y-6">
134+
<form onSubmit={handleSubmit} className="space-y-6 noValidate">
135135
{/* File Upload Area */}
136136
<div className="space-y-4">
137137
<div
@@ -153,7 +153,6 @@ export default function UploadInvoicePage() {
153153
accept=".pdf"
154154
onChange={handleInputChange}
155155
className="hidden"
156-
required
157156
/>
158157

159158
{!file ? (

0 commit comments

Comments
 (0)