htmlstreamofficial / preline

Preline UI is an open-source set of prebuilt UI components based on the utility-first Tailwind CSS framework.
https://preline.co
Other
4.9k stars 309 forks source link

File Upload Issue: Console Error and Non-Functional Class Modifier #426

Closed PruthviPraj00 closed 1 month ago

PruthviPraj00 commented 3 months ago

Summary

When a file is uploaded, a 404 error occurs, and the hs-file-upload-complete modifier isn't functioning.

Steps to Reproduce

  1. Upload the file.
  2. Check the console for error.
  3. The progress bar fails to turn green after the upload is complete.

Demo Link

https://preline.co/docs/file-upload.html#basic-usage

Expected Behavior

The progress bar should turn green.

Actual Behavior

The progress bar has a blue background, and there is an error in the console.

Screenshots

Console Error

Screenshot 2024-08-05 at 6 42 26 PM

Modifier Not Working

The progress bar has a blue background after completion:

Screenshot 2024-08-05 at 6 43 41 PM Screenshot 2024-08-05 at 6 44 30 PM

PruthviPraj00 commented 1 month ago

Hello @jahaganiev,

I will go ahead and close this ticket as you have resolved the issue in version 2.5.0.

Best regards,