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

Method for add some "dateDisabled" after init #9

Open
tomredhot opened this issue Dec 7, 2018 · 6 comments
Open

Method for add some "dateDisabled" after init #9

tomredhot opened this issue Dec 7, 2018 · 6 comments

Comments

@tomredhot
Copy link

No description provided.

@tomredhot
Copy link
Author

Oops, I sent without a message. First of all, thanks for this plugin. I love it.
I think a method for adding events and closed days after initialization can be useful.
For example, in my project I need to make some days disabled depending on some other options.
Something like :
$('.t-datepicker').tDatePicker('addDateDisabled', '2018-07-17'); $('.t-datepicker').tDatePicker('removeDateDisabled', '2018-07-17');
Thanks again for your work.

@crazychicken
Copy link
Owner

Hi @tomredhot ,
i have one option, can you try it. link document dateDisabled

$(document).ready(function(){
  $('.t-datepicker').tDatePicker({
    dateDisabled: ['2018-12-21']
  })
  $('.t-datepicker').tDatePicker({
    dateDisabled: []
  })
});

i hope that help you.

@hashaamahmad
Copy link

dateDisabled is not working please help ....

@WindowsMoneroMiner
Copy link

dateDisabled work correctly with Windows browser (chrome) but in Android browser not work.

Have you any ideas to resolve?

@WindowsMoneroMiner
Copy link

Ps. your DEMO online have the same problem,work with chrome and not work with android browser.
(only dateDisabled function)

@ShredderIIit
Copy link

dateDisabled work correctly with Windows browser (chrome) but in Android browser not work.

Have you any ideas to resolve?

Ps. your DEMO online have the same problem,work with chrome and not work with android browser. (only dateDisabled function)

Still relevant

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

5 participants