gongpex Posted May 8, 2020 Share Posted May 8, 2020 Hello everyone, I got bug when upload image with name too long, the filename out from input file like image below: Q : how to fix so that filename not out from input? Please help thanks. Link to comment Share on other sites More sharing options...
dsonesuk Posted May 8, 2020 Share Posted May 8, 2020 Looks like custom upload input, try overflow: hidden; or text-over: ellipsis; Link to comment Share on other sites More sharing options...
Sherin Posted June 11, 2020 Share Posted June 11, 2020 Using jquery var filename = $('input[type=file]').val().split('\\').pop(); Link to comment Share on other sites More sharing options...
Ingolme Posted June 11, 2020 Share Posted June 11, 2020 How exactly is that supposed to solve the styling issue? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now