Bug with (inline) calendar?

5 replies · opened Oct 16, 2016

JjohnjohnOct 16, 2016

Hello,

I am using the inline calendar as shown on http://themes.semicolonweb.com/html/canvas/component-datepicker.php
and i notice that when i use these parameters, they do not work / show in the calendar:
daysOfWeekHighlighted: "0,6", format: "mm/dd/yyyy", datesDisabled: ['10/06/2016', '10/21/2016'], toggleActive: false

Is there a bug somewhere?

SSemicolon WebSTAFFOct 17, 2016

Hello,

There are 2 Inline Calendars on the Page, 1 with the DatePicker Functionality and the other with the DateTimePicker Functionality. We assume you are facing the issue with the DateTimePicker Functionality. Actually, they have different option definitions, so please consider using these options: https://eonasdan.github.io/bootstrap-datetimepicker/Options/#disableddates . If you are still facing issues with this, can you please provide us with a Live URL so that we can check out the exact issue and provide you with a more accurate solution for this. Thanks for your Patience.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

JjohnjohnOct 17, 2016

Hello,

Thank you for your reply.

I am using the DatePicker functionality and i am unable to set the manual disabled dates.
Could you please provide an example parameter based on your demo page?

Thank you

JjohnjohnOct 18, 2016

Even with other examples like "WITH CALENDAR ICON", the disabled dates do not work
With "HIGHLIGHTED DAYS OF WEEK", the days are not highlighted

SSemicolon WebSTAFFOct 19, 2016

Hello,

Thank You so much for reporting this to us! We have tried checking this out thoroughly and found that the DatePicker used is not at its Latest Version which is why it did not work as expected!

  1. Update the Package/HTML/demos/travel/css/datepicker.css File to the Latest Version from this File: https://raw.githubusercontent.com/uxsolutions/bootstrap-datepicker/master/dist/css/bootstrap-datepicker.min.css .

  2. Update the Package/HTML/demos/travel/js/datepicker.js File to the Latest Version from this File: https://raw.githubusercontent.com/uxsolutions/bootstrap-datepicker/master/dist/js/bootstrap-datepicker.min.js .

This will definitely fix the issue. We will add this Fix in our Next Update. Thanks for your Patience.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

JjohnjohnOct 20, 2016

Thank you very much!
It works now!

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard