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

DatePicker access to min-date display error " Cannot read properties of null (reading 'getFullYear')" #1101

Closed
ghost opened this issue Dec 31, 2023 · 3 comments
Assignees
Labels
🐛 bug Verified bug by team 🟡 priority-2 2. Medium priority issue Pro Pertains to FormKit Pro

Comments

@ghost
Copy link

ghost commented Dec 31, 2023

Reproduction

https://formkit.com/inputs/datepicker

Describe the bug

When i try to acces to years with lower of min-date "2023" in this case :

<FormKit type="datepicker" name="date" label="Conference date" placeholder="Select a date" help="When are you hosting your next conference?" picker-only min-date="2023-12-30T22:29:13.113Z" />
date-picker

Environment

Browser [chrome]
"@formkit/pro": "^0.119.2",
"@formkit/vue": "^1.3.2",

@ghost ghost added ⛑ Needs triage The issue has not yet been examined by the FormKit team. 🐛 bug-report Bug is reported, but not verified by team labels Dec 31, 2023
@justin-schroeder
Copy link
Member

Reproduction: https://formkit.link/f2c7a0a6fe98709ab738559e3a995ea7

Steps:

  1. open the datepicker
  2. Go click on the years
  3. hover over a year earlier than 2023

@justin-schroeder justin-schroeder added 🐛 bug Verified bug by team 🟡 priority-2 2. Medium priority issue Pro Pertains to FormKit Pro and removed 🐛 bug-report Bug is reported, but not verified by team ⛑ Needs triage The issue has not yet been examined by the FormKit team. labels Jan 2, 2024
@justin-schroeder justin-schroeder self-assigned this Jan 2, 2024
@justin-schroeder
Copy link
Member

correct, i was only making a reproduction with steps since there was none provided in the original post.

@sashamilenkovic
Copy link
Contributor

This should be resolved at FormKit Pro v0.126.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Verified bug by team 🟡 priority-2 2. Medium priority issue Pro Pertains to FormKit Pro
Projects
None yet
Development

No branches or pull requests

2 participants