fas icons in input


Topic: fas icons in input

Pavel Šrytr asked 10 months ago

Expected behavior Show icons next to input.

Actual behavior Fontawesome icons with special prefixes not show. For example campground. How can i achiev to show fas, fab etc. icons in inpuit field?

Resources (screenshots, code snippets etc.)

<MDBInput label="Město" icon="campground" group type="text" validate error="wrong" success="right" /> Not work


Jakub Chmura staff premium answered 10 months ago

Hi @Pavel Šrytr,

Your example works well with fa fa-.... classes, but I see that we need to fix the rest of FA styles like far/fas/fab...

We try to fix it as soon as possible.

Best, Kuba


Please insert min. 20 characters.
Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: React
  • MDB Version: 4.27.0
  • Device: Desktop
  • Browser: Firefix
  • OS: Fedora30
  • Provided sample code: No
  • Provided link: Yes