Coding-Club-IITG/CourseHub

Submit button triggers empty upload and success toast even when no files are selected

Open

#188 opened on Aug 8, 2026

 (0 comments) (0 reactions) (1 assignee)JavaScript (3 forks)auto 404
buggood first issue

Repository metrics

Stars
 (13 stars)
PR merge metrics
 (PR metrics pending)

Description

When we are clicking the contribute button on the client course page to add a file and triggering the upload flow:

And then clicking the submit button (which shows cursor: blocked on hover)

Expected: We should see a red line error message or a toast saying please upload a valid file Actual: The flow is succeeding and giving a success toast.

Stakeholders: @DreamBot706

Contributor guide