Curious to know if the below mentioned will work. If not, why wouldn't it?
I assume two types of classes in my html for a file upload.
Type 1: form-control
and
Type 2: custom-file-input
.
On using the class form-control
, I have my upload file name being shown, but on using custom-file-input
, it doesn't.
Is there a way to display the uploaded file name in custom-file-input
class?
Guidance is much appreciated.