GIGS1975
(Zoltan Kiss)
April 8, 2022, 6:40pm
1
Hi guys
I have installed Kartik Datepicker, and in Yii I have Bottstrap4 by default.
I dont know if this is the problem source (the bootstrap version), but Kartik datepicker doesnt show the calendar icon.
Can someone help me out please?
UPDATE
Solved,
I just missed that we need to add
<script defer src="https://use.fontawesome.com/releases/v5.3.1/js/all.js" crossorigin="anonymous"></script>
to main layout file…
I am putting it here just in case there is someone else blind like me…
evstevemd
(Stefano Mtangoo)
April 8, 2022, 8:32pm
2
Did you set Bootstrap version to 4 in Widget settings?
GIGS1975
(Zoltan Kiss)
April 8, 2022, 8:37pm
3
Thanks for the replay. I have already updated teh post.
I have found the problem.
Thanks
evstevemd
(Stefano Mtangoo)
April 9, 2022, 12:54pm
4
I was referring your bootstrap settings according to
did you set the Widget to use correct bootstrap? Also what is the widget version in composer.json?
GIGS1975
(Zoltan Kiss)
April 9, 2022, 12:58pm
5
I have edited the topic to solved, becuase i have found the solution.
Please see my earlier answer.
THanks
FordSmh
(FordSmh)
April 9, 2022, 2:58pm
6
Though your method is working I encourage you to use Assets or at least RegisterCssFile