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: cannot type an end date that is the same as the start date. #6106

Closed
akshayaqburst opened this issue Jul 25, 2024 · 0 comments · Fixed by #6107 · May be fixed by nerds-github/litlyx#11
Closed

DatePicker: cannot type an end date that is the same as the start date. #6106

akshayaqburst opened this issue Jul 25, 2024 · 0 comments · Fixed by #6107 · May be fixed by nerds-github/litlyx#11
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@akshayaqburst
Copy link
Contributor

Describe the bug

In the DatePicker, we can select the same date by clicking on it.
However, when I type an end date that is equal to the start date, the date is not selected.

Reproducer

https://stackblitz.com/edit/primevue-4-vite-issue-template-qback9?file=src%2FApp.vue

PrimeVue version

4.x.x

Vue version

4.x

Language

TypeScript

Build / Runtime

Vue CLI App

Browser(s)

No response

Steps to reproduce the behavior

  1. First, type 07/24/2024.
  2. Then, type the same end date (07/24/2024).
  3. However, the date is reset.

Expected behavior

it should be possible to type the end date equal to the start date.

@akshayaqburst akshayaqburst added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jul 25, 2024
@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 Aug 1, 2024
tugcekucukoglu added a commit that referenced this issue Aug 1, 2024
fix: #6106, DatePicker: cannot type an end date that is the same as the start date
@tugcekucukoglu tugcekucukoglu added this to the 4.0.4 milestone Aug 1, 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
2 participants