Support PDF for file uploads (#1610)

This commit is contained in:
Shuchang Zheng
2025-01-22 13:07:28 +08:00
committed by GitHub
parent 0232d81f12
commit 03f8bbe23e

View File

@@ -147,7 +147,7 @@ function FileUpload({ value, onChange }: Props) {
id={inputId}
type="file"
onChange={handleFileChange}
accept=".csv"
accept=".csv,.pdf"
className="hidden"
/>
<div className="flex max-w-full gap-2 px-2">