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

maxDate not selectable #2879

Closed
3 tasks done
SzoftverHaz opened this issue Nov 21, 2023 · 4 comments · Fixed by #2887
Closed
3 tasks done

maxDate not selectable #2879

SzoftverHaz opened this issue Nov 21, 2023 · 4 comments · Fixed by #2887

Comments

@SzoftverHaz
Copy link

Prerequisites

Describe the issue

When I set maxDate like this:
'updateOptions({
restrictions: {
maxDate: new Date('2024-11-20'),
},
});'
in calendar 20th looks like active but nothing happens when click on it, so it is not selectable

StackBlitz fork

https://stackblitz.com/edit/tempus-dominus-v6-repl-jtub1v?file=example.js

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

Windows

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

Chrome, Firefox, Microsoft Edge

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

6.7.19

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

hu-HU

@SzoftverHaz SzoftverHaz added State: Triage Tickets that need to be triaged. Type: Bug labels Nov 21, 2023
@github-project-automation github-project-automation bot moved this to 🆕 New in Tempus Dominus Nov 21, 2023
@SzoftverHaz
Copy link
Author

There is another bug. I added a second TD instance to this example that is not allow to select November. Maybe related to previous bug.

@SzoftverHaz
Copy link
Author

I found another one and included this snippet as a third input. When <(previous decade) pressed, 2012 and 2013 can be selected only.

@Eonasdan Eonasdan added Area: TypeScript and removed State: Triage Tickets that need to be triaged. labels Dec 19, 2023
@Eonasdan Eonasdan moved this from 🆕 New to 🏗 In progress in Tempus Dominus Dec 19, 2023
@Eonasdan Eonasdan added the State: Pending Release This issue has been resolved in the dev branch and is waiting on a new release label Dec 20, 2023
Eonasdan added a commit that referenced this issue Dec 21, 2023
@Eonasdan Eonasdan mentioned this issue Dec 21, 2023
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in Tempus Dominus Dec 21, 2023
Eonasdan added a commit that referenced this issue Dec 21, 2023
* fixes #2884

* fixes #2886

* fixes #2881

* fixes #2879

* fixes #2857

* #2793

* #2793
v6.9.4
@Eonasdan
Copy link
Owner

The other issues you mentioned should be fixed in 6.9.4. The min/max date are time stamps. They are exclusive, so you will need to either set the time to midnight or pad the day by 1.

@Eonasdan Eonasdan removed the State: Pending Release This issue has been resolved in the dev branch and is waiting on a new release label Dec 21, 2023
@SzoftverHaz
Copy link
Author

Thank you!

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

Successfully merging a pull request may close this issue.

2 participants