-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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: View "year" throws error on year selection #6028
Comments
The PR does look like it fixes the problem |
This is a fundamental bug that can be easily reproduced by going to the datepicker page and selecting a value. If you try to click on the year you will be prompted with the error above. Screen.Recording.2024-07-18.155810.mp4Given there's a PR to try and address it, is it possible to include in the upcoming versions? Thanks! |
@tugcekucukoglu please could you take a look at this bug, the open PR seems to fix the issue. Would be great to get it in a 4.0.2 release |
I know this workaround might not work for everyone, but we have disabled the year selection via a css rule.
We are working very hard to upgrade to PrimeVue 4 and having to rework the theme system so this will unblock us for now until we have a fix. |
Hi, Allan here! I'm from Guatemala and I'm working with the government as tech lead, currently we have the same problem specifically with the "Only Year Picker", Do you have any update about this issue? Thanks you so much. |
I agree with Rodriguez Ae. Currently we are working on a platform that relies on a PrimeVue frontend. And this is currently an on going issue with different projects at the Government. |
Hi, I urgently need to use the date picker only in Years if we could get an update on the issue it would be great. |
We are developing a platform with PrimeVue and have encountered the same issue with the "Only Year Picker" |
Have exactly the same problem, also need urgently the date picker to work in years mode, any due-date for fixing this bug? |
@cagataycivici not sure if @tugcekucukoglu is away but please could we get this looked at? There is a PR with a fix that is ready for merging which would help a lot of us out! |
Describe the bug
The DatePicker with view "year", as in https://primevue.org/datepicker/#yearpicker, throws the following error upon year selection:
After encountering this error, you cannot open the DatePicker again unless you manually clear the input field.
There seems to be a pull request to fix this: #5986
Reproducer
https://stackblitz.com/edit/nsj4av?file=src%2FApp.vue
PrimeVue version
4.0.0
Vue version
4.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
No response
The text was updated successfully, but these errors were encountered: