Changing the label 'Choose file' and hide the file name chosen #729

Open
opened 2017-04-03 16:46:34 +00:00 by sabb123 · 2 comments
sabb123 commented 2017-04-03 16:46:34 +00:00 (Migrated from github.com)

How do we change the label on the input file type to say 'select' instead of the default 'Choose file'?
Also, I do not want to display the No file chosen and selected File Name label. How can I hide that?
Thank you

How do we change the label on the input file type to say 'select' instead of the default 'Choose file'? Also, I do not want to display the No file chosen and selected File Name label. How can I hide that? Thank you
grmpfhmbl commented 2017-04-13 17:10:06 +00:00 (Migrated from github.com)

You can just use a little bit of CSS to style the input as you like. An example you can find here
https://tympanus.net/codrops/2015/09/15/styling-customizing-file-inputs-smart-way/

You can just use a little bit of CSS to style the input as you like. An example you can find here https://tympanus.net/codrops/2015/09/15/styling-customizing-file-inputs-smart-way/
JaredOzzy commented 2018-11-19 10:23:47 +00:00 (Migrated from github.com)

I used this method as i couldn't get the css as suggested above to work...

https://stackoverflow.com/a/42658657/8427884

I used this method as i couldn't get the css as suggested above to work... https://stackoverflow.com/a/42658657/8427884
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dc/ng2-file-upload#729