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

Forms: date picker doesn't respect input's date format #41599

Closed
simison opened this issue Feb 6, 2025 · 1 comment · Fixed by #41611
Closed

Forms: date picker doesn't respect input's date format #41599

simison opened this issue Feb 6, 2025 · 1 comment · Fixed by #41611
Assignees
Labels
[Block] Contact Form Form block (also see Contact Form label) [Feature] Forms Blocks Blocks designed to streamline user input and engagement, such as contact, newsletter sign-ups, etc. [Package] Forms [Pri] High [Status] Auto-allocated [Status] Escalated to Product Ambassadors Triaged [Type] Bug When a feature is broken and / or not performing as intended

Comments

@simison
Copy link
Member

simison commented Feb 6, 2025

When I create forms with date inputs:

Image

In the frontend the date picker doesn't actually respect those formats:

Image Image

2nd and 3rd input are incorrect, but 2nd one isn't marked invalid because both 02 and 12 can be dates or months.

In the 3rd input for example we get:

Image

Expected this instead:

Image

We'll get this fixed with Zap.

@simison simison added [Block] Contact Form Form block (also see Contact Form label) [Feature] Forms Blocks Blocks designed to streamline user input and engagement, such as contact, newsletter sign-ups, etc. [Package] Forms [Pri] High [Type] Bug When a feature is broken and / or not performing as intended Triaged labels Feb 6, 2025
@matticbot matticbot moved this from Needs Triage to Triaged in Automattic Prioritization: The One Board ™ Feb 6, 2025
@simison simison moved this from Triaged to In Progress in Automattic Prioritization: The One Board ™ Feb 6, 2025
@matticbot matticbot moved this from In Progress to Triaged in Automattic Prioritization: The One Board ™ Feb 6, 2025
@enejb
Copy link
Member

enejb commented Feb 6, 2025

This PR should fix this. #41611

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Contact Form Form block (also see Contact Form label) [Feature] Forms Blocks Blocks designed to streamline user input and engagement, such as contact, newsletter sign-ups, etc. [Package] Forms [Pri] High [Status] Auto-allocated [Status] Escalated to Product Ambassadors Triaged [Type] Bug When a feature is broken and / or not performing as intended
Development

Successfully merging a pull request may close this issue.

3 participants