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

TypeError: d is null when using set method #1110

Open
yazilim-crmturizm opened this issue Oct 19, 2018 · 0 comments
Open

TypeError: d is null when using set method #1110

yazilim-crmturizm opened this issue Oct 19, 2018 · 0 comments

Comments

@yazilim-crmturizm
Copy link

Got an error TypeError: d is null when try to use "set" method
Ex.

$('.datepicker-end').pickadate({
    format: 'dd.mm.yyyy',
    min: new Date(),
    editable: false,
    onSet: function(context) {
        $('.datepicker-start').pickadate('set','min',new Date(context.select));
    }
});
$('.datepicker-start').pickadate({
    format: 'dd.mm.yyyy',
    min: new Date(),
    editable: false,
    onSet: function(context) {
        $('.datepicker-end').pickadate('set','min',new Date(context.select));
    }
});
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

1 participant