❌ Without Resetting fileinp.value

Try selecting the same file after removing - it won't trigger again.

No file selected

✅ With Reset (fileinp.value = "")

Now selecting the same file again works perfectly!

No file selected