0

There is a way to change the default "Browse" text of Bootstrap's file input field's button, see the docs. Is there a way to use a Font Awesome Icon in place of "Browse"? (In an Angular 8 environment.)


Edit after question has been closed:

Sorry, I don't get how it's off-topic. Which part of it is not clear or doesn't fit in the guidelines?

In an Angular8 environment I'd like to achieve that instead of this:

enter image description here

this would show:

enter image description here

I hope it's clear now but I'm not sure, I didn't add any new information:)

JB Nizet
  • 678,734
  • 91
  • 1,224
  • 1,255
tom
  • 2,137
  • 2
  • 27
  • 51
  • 1
    Icons you can insert like `` but you cannot use HTML when customizing the button's text. – tom Dec 28 '19 at 12:48
  • 2
    That it's not for the text of the button. – tom Dec 28 '19 at 13:12
  • 1
    I've voted for reopening. I think the closers don't realize that Bootstrap uses a CSS trick to show a different text than the naive file input text, which can't be customized easily. This is not actually a button. I've also added the tag CSS, because it's probably relevant. – JB Nizet Dec 28 '19 at 16:21

0 Answers0