Joachim Kumpa priority asked 2 years ago


Who can i change the datepicker-toogle-icon to a custom icon ?


Kamila Pieńkowska staff answered 2 years ago


We recommend using the <i> tag but try changing tag <img> to <svg>.


Joachim Kumpa priority commented 2 years ago

Yeah .. now it does! Thanks


Joachim Kumpa priority answered 2 years ago


thanks..but that isn't what i need. when i use the example it works. But when i use my own icon: enter image description here

don't work. I don't want to implement fontawesome.


Kamila Pieńkowska staff answered 2 years ago


We have an example in our documentation that shows how to do this: https://mdbootstrap.com/docs/standard/forms/datepicker/#section-custom-toggle



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 6.0.1
  • Device: Computer
  • Browser: Firefox
  • OS: Windows 11
  • Provided sample code: No
  • Provided link: No
Tags