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

fix(DateInput): max date bug #4674

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

fix(DateInput): max date bug #4674

wants to merge 1 commit into from

Conversation

lisalupi
Copy link
Contributor

Summary

Type

  • Bug

Summarise concisely:

What is expected?

There was an issue with max-date: since months are 0-indexed, there shouldn't be a +1 when creating a date to compute wether the "next" button is disabled or not.

Relevant logs and/or screenshots

Before :

Enregistrement.de.l.ecran.2025-01-16.a.17.00.52.mov

After :

Enregistrement.de.l.ecran.2025-01-16.a.17.01.32.mov

@lisalupi lisalupi added the bug Something isn't working label Jan 16, 2025
@lisalupi lisalupi requested a review from fabienhebert January 16, 2025 16:18
@lisalupi lisalupi self-assigned this Jan 16, 2025
@lisalupi lisalupi requested a review from matthprost as a code owner January 16, 2025 16:18
Copy link

changeset-bot bot commented Jan 16, 2025

🦋 Changeset detected

Latest commit: bb59236

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@ultraviolet/ui Patch
@ultraviolet/form Patch
@ultraviolet/plus Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants