Skip to content

v6.7.13 maxDate option crashes the plugin #2850

Closed
@johncrislasta

Description

Prerequisites

Describe the issue

I have installed v6.7.13 and I'm getting an error when I set the maxDate in the restrictions option.

The error is:

Uncaught TypeError: Cannot read properties of undefined (reading 'localization')
    at set viewDate [as viewDate]

I tested my setup on the stackblitz provided, but it worked:
I discovered that using a lower version, 6.7.7 worked.
I'll just use that version until the issue is fixed on the latest release.

Thanks!

StackBlitz fork

https://stackblitz.com/edit/tempus-dominus-v6-simple-setup-cwswbe?file=index.js

What operating system(s) are you seeing the problem on?

Windows

What browser(s) are you seeing the problem on?

Chrome

What version of are you using? You can find this information from the sample StackBlitz.

6.7.13

What your browser's locale? You can find this information from the sample StackBlitz.

en-US

Metadata

Assignees

No one assigned

    Projects

    • Status

      ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions