fix:수입검사 모달 파일 첨부에 PDF 허용 추가
This commit is contained in:
@@ -720,13 +720,13 @@ export function ImportInspectionInputModal({
|
||||
{/* 사진 첨부 */}
|
||||
<div className="space-y-2">
|
||||
<FileDropzone
|
||||
accept=".jpg,.jpeg,.png,.gif,.webp,.heic"
|
||||
accept=".jpg,.jpeg,.png,.gif,.webp,.heic,.pdf"
|
||||
multiple
|
||||
maxSize={10}
|
||||
compact
|
||||
onFilesSelect={(files) => setNewPhotos((prev) => [...prev, ...files])}
|
||||
title="클릭하거나 사진을 드래그하세요"
|
||||
description="이미지 파일 (최대 10MB)"
|
||||
title="클릭하거나 파일을 드래그하세요"
|
||||
description="이미지/PDF 파일 (최대 10MB)"
|
||||
/>
|
||||
{(newPhotos.length > 0 || existingPhotos.length > 0) && (
|
||||
<FileList
|
||||
|
||||
Reference in New Issue
Block a user