Code Monkey home page Code Monkey logo

Comments (8)

cannontechnology avatar cannontechnology commented on July 22, 2024 1

@romgrk - I deleted that last comment. That was a mistake on my end. This fix works great as is. Thanks!

from mui-x.

romgrk avatar romgrk commented on July 22, 2024

Could you put a reproducible case into a codesandbox? I feel like it should be working, quickfilter is designed to work on formatted values.

from mui-x.

cannontechnology avatar cannontechnology commented on July 22, 2024

Sure will do. It does not work if type="date"

from mui-x.

cannontechnology avatar cannontechnology commented on July 22, 2024

Here you go @romgrk - The updated date is searchable via a quickFilterFn, however the created date is not (by default).
https://codesandbox.io/s/amazing-lederberg-xgrxhw

from mui-x.

romgrk avatar romgrk commented on July 22, 2024

@mui/xgrid Does someone have more context about why quickfilter doesn't work with dates as-is? Should it work?

from mui-x.

MBilalShafi avatar MBilalShafi commented on July 22, 2024

@romgrk I don't know why we are deliberately setting the applier function for date and datetime fields as undefined.

The default string function seems to work just fine: https://codesandbox.io/s/withered-smoke-zjx2kl?file=/Demo.tsx

Are there any repercussions of this that I'm not aware of?
CC @mui/xgrid

from mui-x.

romgrk avatar romgrk commented on July 22, 2024

I don't know either. When I updated the v7 ones I didn't change the behavior of the filters, I just added the new appliers with the same logic as they had before.

from mui-x.

romgrk avatar romgrk commented on July 22, 2024

Do you have a codesandbox example?

from mui-x.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.