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

[BUG] - DateInput should allow user to add a leading zero #4560

Open
YPCrumble opened this issue Jan 14, 2025 · 1 comment
Open

[BUG] - DateInput should allow user to add a leading zero #4560

YPCrumble opened this issue Jan 14, 2025 · 1 comment

Comments

@YPCrumble
Copy link

NextUI Version

2.3.6

Describe the bug

When the user inputs a leading zero into the day or month field the DateInput doesn't respond, i.e., nothing happens. This is confusing for the user.

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

  1. Create a date input with mm/dd/yyyy format.
  2. Input a month like February, i.e., 02, but just enter the leading zero
  3. Nothing happens which is confusing, because the user expects their keyboard to work.

Expected behavior

DateInput asking for mm/dd/yyyy format should respond with leading zeroes.

Screenshots or Videos

No response

Operating System Version

macOS

Browser

Chrome

Copy link

linear bot commented Jan 14, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant