gijgo icon indicating copy to clipboard operation
gijgo copied to clipboard

Not display date-picker icon

Open salimahamad opened this issue 5 years ago • 4 comments

i am using gijgo datepicker ...our site lived client server ..here not display datepicker icon ...so client message what is this ..please solved issue

salimahamad avatar Dec 24 '19 05:12 salimahamad

Same here

shardul007singh avatar Dec 24 '19 06:12 shardul007singh

Same here

francodipolly avatar Dec 24 '19 07:12 francodipolly

You can define your icons, here's my code, I am using material design but you don't have to.

       $('#datepicker').datepicker({
           icons: {
                rightIcon: '<i class="material-icons">date_range</i>',
                previousMonth: '<i class="material-icons">keyboard_arrow_left</i>',
                nextMonth: '<i class="material-icons">keyboard_arrow_right</i>'
            }
        });

if you're using bootstrap, you use the boostrap class, rightIcon is the calendar icon, the other two are the icons of the previous month and next month, you can use whatever icons you want.

You can read here the complete list of icons you can define

https://cdnjs.cloudflare.com/ajax/libs/gijgo/1.9.13/combined/js/gijgo.js

The documentation is incomplete but the code is readable.

https://gijgo.com/datepicker/configuration/icons.rightIcon

elieobeid7 avatar Jan 09 '20 13:01 elieobeid7

Could you please close this issue? So that we help the maintainers know that this issue is closed :)

elieobeid7 avatar Jan 21 '20 22:01 elieobeid7