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: No manual input in view = 'year' #6347

Closed
muelbr opened this issue Sep 6, 2024 · 1 comment · Fixed by #6415
Closed

Datepicker: No manual input in view = 'year' #6347

muelbr opened this issue Sep 6, 2024 · 1 comment · Fixed by #6415
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@muelbr
Copy link

muelbr commented Sep 6, 2024

Describe the bug

Currently it is not possible to manually enter a year in the year picker mode like in the other modes.

Reproducer

https://primevue.org/datepicker/#yearpicker

PrimeVue version

4.0.5

Vue version

3.x

Language

ALL

Build / Runtime

Vite

Browser(s)

No response

Steps to reproduce the behavior

  1. Go to https://primevue.org/datepicker/#yearpicker
  2. Type a correct year and press enter (or leave the focus)
  3. Value is not taken

Expected behavior

Entering manually a year like I am able to do so with view = date | month

@muelbr muelbr added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Sep 6, 2024
@avramz
Copy link
Contributor

avramz commented Sep 16, 2024

Can repro, fix in PR

tugcekucukoglu added a commit that referenced this issue Sep 24, 2024
#6347 fix: Datepicker -> Allow user to set year via input when view="year"
@tugcekucukoglu tugcekucukoglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Sep 24, 2024
@tugcekucukoglu tugcekucukoglu added this to the 4.1.0 milestone Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants