mui / mui-x

MUI X: Build complex and data-rich applications using a growing list of advanced React components, like the Data Grid, Date and Time Pickers, Charts, and more!
https://mui.com/x/
3.91k stars 1.19k forks source link

Leap year data grid date column filter cant be filled from left to right #13654

Open BlastyCZ opened 2 days ago

BlastyCZ commented 2 days ago

Steps to reproduce

Link to live example: (required)

Steps:

  1. Live in country (Czechia) which used dd. mm. yyyy format for dates e.g. today is 28. 6. 2024
  2. Try to filter by leap year date e.g. 29. 2. 2024

Current behavior

It resets input

Expected behavior

Filling desired date

Context

I tried to filter by leap year date e.g. 2024/02/29

Your environment

Not important

Search keywords: Leap year data grid

MBilalShafi commented 2 days ago

Hey @BlastyCZ,

I tried to filter by the mentioned date and it works fine for me in this demo. image

Could you provide a reproduction using the latest product version? A live example would be fantastic! ✨

You can refer to our documentation that offers templates and guides on creating targeted examples: Support - Bug reproduction

BlastyCZ commented 2 hours ago

I tried this demo before I posted issue. Bug occurs for me. I tried chromium - it works ok! Firefox is not.

Let me clearly describe all my steps:

  1. Open the filter window image
  2. Fill day and month image
  3. Fill first two number from year 2024 image
  4. Add third number of 2024 - after pressing 2, date is reset to clear state for no obvious reason image