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

[data grid] Impossible to type decimal numbers starting with .0 in the filter #16052

Closed
UnrealEngineer opened this issue Jan 1, 2025 · 3 comments · Fixed by #16062
Closed
Assignees
Labels
component: data grid This is the name of the generic UI component, not the React module! feature: Filtering on header Related to the header filtering (Pro) feature feature: Filtering Related to the data grid Filtering feature regression A bug, but worse

Comments

@UnrealEngineer
Copy link

UnrealEngineer commented Jan 1, 2025

Steps to reproduce

Steps:

  1. Open this link to live example: https://mui.com/x/react-data-grid/filtering/server-side/
  2. Open filter of number type column
  3. Enter 11.11 as a filter number - everything works
  4. Try to enter 11.01 - at the moment when the 0 is being typed the dot and 0 are removed.
Recording.2025-01-01.130125.mp4

Current behavior

No response

Expected behavior

No response

Context

No response

Your environment

No response

Search keywords: data-grid, filtering

@UnrealEngineer UnrealEngineer added bug 🐛 Something doesn't work status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Jan 1, 2025
@github-actions github-actions bot added the component: data grid This is the name of the generic UI component, not the React module! label Jan 1, 2025
@UnrealEngineer UnrealEngineer changed the title Data Grid v7.23.5 | Impossible to type decimal numbers starting with 0 in the filter Data Grid v7.23.5 | Impossible to type decimal numbers starting with .0 in the filter Jan 1, 2025
@UnrealEngineer UnrealEngineer changed the title Data Grid v7.23.5 | Impossible to type decimal numbers starting with .0 in the filter [data grid] Impossible to type decimal numbers starting with .0 in the filter Jan 1, 2025
@UnrealEngineer
Copy link
Author

Comma decimal delimiter doesn't work as well. nor 11.0 neither 11,0

@arminmeh arminmeh self-assigned this Jan 2, 2025
@arminmeh arminmeh added regression A bug, but worse feature: Filtering Related to the data grid Filtering feature feature: Filtering on header Related to the header filtering (Pro) feature and removed bug 🐛 Something doesn't work status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Jan 2, 2025
@arminmeh
Copy link
Contributor

arminmeh commented Jan 2, 2025

@UnrealEngineer thanks for reporting this

It is a regression caused by #15829

I will open a PR with the fix

Copy link

github-actions bot commented Jan 3, 2025

This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue.
Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.

Note

@UnrealEngineer How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: data grid This is the name of the generic UI component, not the React module! feature: Filtering on header Related to the header filtering (Pro) feature feature: Filtering Related to the data grid Filtering feature regression A bug, but worse
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants