Coding-Club-IITG/CourseHub

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

Aperta

#188 aperta il 8 ago 2026

 (0 commenti) (0 reazioni) (1 assegnatario)JavaScript (3 fork)auto 404
buggood first issue

Metriche repository

Star
 (13 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor