Skip to content

Commit

Permalink
Merge pull request #10446 from DonXavierdev/issues/10443/Bug-File-Upload
Browse files Browse the repository at this point in the history
Get error for specific inputs when updated
  • Loading branch information
amjithtitus09 authored Feb 6, 2025
2 parents 85866da + 97dbc77 commit 868ea1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Files/FilesTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ const FileUploadDialog = ({
}}
className="ml-0.5 mb-0.5"
/>
{index === 0 && fileUpload.error && (
{!fileUpload.fileNames[index] && fileUpload.error && (
<p className="mt-2 text-sm text-red-600">
{fileUpload.error}
</p>
Expand Down

0 comments on commit 868ea1c

Please sign in to comment.