Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting method doesn't work correctly #98

Open
Seba4588 opened this issue Nov 20, 2018 · 1 comment
Open

Setting method doesn't work correctly #98

Seba4588 opened this issue Nov 20, 2018 · 1 comment

Comments

@Seba4588
Copy link

Seba4588 commented Nov 20, 2018

Hi,

I have simple page with default PIGNOSE Calendar. I added checkbox:

<input type="checkbox" name="datepicker_range">

And onChange event:

$('input[name=datepicker_range]').change(function () {
   var range_checked = this.checked;
   $('.calendar').pignoseCalendar('setting', {
       multiple: range_checked
   });    
});

Unfortunately this doesn't work, the calendar has single-selected date all time. I replaced 'setting' with 'configure' but the effect is the same. Is it bug?

@an-vb-is
Copy link

Hey I have the same problem, has anyone ever found a solution? In the documentation the method is written as "settings" instead of "setting" but settings is not valid and setting (as well as configure) is not working.
Can anyone help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants