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

v2 Calendar - Could not edit end date with time picker properly #2546

Closed
klsl2008 opened this issue May 18, 2022 · 0 comments
Closed

v2 Calendar - Could not edit end date with time picker properly #2546

klsl2008 opened this issue May 18, 2022 · 0 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working vue2
Milestone

Comments

@klsl2008
Copy link

I'm submitting a ... (check one with "x")

[x] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primevue/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=110

CodeSandbox Case (Bug Reports)
There is an issue with Calendar Input for date range value when time picker is enabled.

https://codesandbox.io/s/calendar-datetime-range-s3e6nj

Current behavior
The end datetime could not be updated by time picker.

Expected behavior
Both start and end datetime should be updated by time picker.

Minimal reproduction of the problem with instructions

  1. Click on the calendar input.
  2. Click on any date.
  3. Click on any buttons in the time picker. The start date can be updated.
  4. Click on another later date.
  5. Click on any buttons in the time picker. The value of time picker goes back to start date. The end date cannot be updated properly.

Please tell us about your environment:

  • Vue version: 2.6.14

  • PrimeVue version: 2.9.2

  • Browser: [all]

@tugcekucukoglu tugcekucukoglu added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label May 23, 2022
Ancient-Dragon added a commit to Ancient-Dragon/primevue that referenced this issue May 25, 2022
…irst date when using multiple or range selection.
@tugcekucukoglu tugcekucukoglu added this to the 2.9.3 milestone May 27, 2022
@tugcekucukoglu tugcekucukoglu self-assigned this May 27, 2022
tugcekucukoglu added a commit that referenced this issue May 27, 2022
…r-time-selection

#2546 - fix issue where Calendar.vue was always using the first date …
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 vue2
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants