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

Calendar: maxDate with 12-hour-format does not allow minute and second value modification #3356

Closed
rydengraham opened this issue Nov 30, 2022 · 0 comments · Fixed by #3578
Closed
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@rydengraham
Copy link

Describe the bug

If you set the calendar to have a morning (AM) max-date, you cannot modify the minute value of the time on the same day as the max-date. In order to change the minute value on the final day, you must select an earlier day, modify the minute value, then reselect the final day.

Reproducer

https://codesandbox.io/s/hardcore-tamas-451wmf?file=/src/App.vue

PrimeVue version

3.20.0

Vue version

3.x

Language

ES6

Build / Runtime

Vue CLI App

Browser(s)

No response

Steps to reproduce the behavior

Where maxDate is a morning (AM) time

While the selected day is equal to the day portion of the max-date, attempt to change the minute value.

Expected behavior

Minute value can be changed to any value as long as the max-date is not exceeded.

@rydengraham rydengraham added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 30, 2022
@bahadirsofuoglu bahadirsofuoglu 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 Dec 2, 2022
@tugcekucukoglu tugcekucukoglu added this to the 3.23.0 milestone Jan 27, 2023
@tugcekucukoglu tugcekucukoglu self-assigned this Jan 27, 2023
@tugcekucukoglu tugcekucukoglu changed the title Calendar: maxDate with 12-hour-format does not allow minute value modification Calendar: maxDate with 12-hour-format does not allow minute and second value modification Jan 27, 2023
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