So far I managed to make my upload button act like a file input but now I don't want the browse button anymore and unfortunately I don't know how to get rid of it.
Any ideas?
So far I managed to make my upload button act like a file input but now I don't want the browse button anymore and unfortunately I don't know how to get rid of it.
Any ideas?
The best idea for fixing this would be to create a custom file input. This might seem painful at first but is the best way to have full control over your file input design.
Look at https://tympanus.net/codrops/2015/09/15/styling-customizing-file-inputs-smart-way/ for one of the ways to do this.
Another way involves an ugly work around that is widely used. The thread for the following is Hide the browse button on a input type=file