Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Icons of datetimepicker not showing

I use bootstrap 4,fontawesome v5.7 and this plugin https://tempusdominus.github.io/bootstrap-4/Usage/

The calendar its working but my probleme is the icons is not showing

Look this screen:

enter image description here

like image 213
Khalil Avatar asked Mar 25 '19 12:03

Khalil


Video Answer


1 Answers

The Following code solved my issue.

$.fn.datetimepicker.Constructor.Default = $.extend({},
            $.fn.datetimepicker.Constructor.Default,
            { icons:
                    { time: 'fas fa-clock',
                        date: 'fas fa-calendar',
                        up: 'fas fa-arrow-up',
                        down: 'fas fa-arrow-down',
                        previous: 'fas fa-arrow-circle-left',
                        next: 'fas fa-arrow-circle-right',
                        today: 'far fa-calendar-check-o',
                        clear: 'fas fa-trash',
                        close: 'far fa-times' } });

enter image description here

enter image description here

like image 86
Khalil Avatar answered Sep 29 '22 03:09

Khalil