Code Monkey home page Code Monkey logo

Comments (3)

LukasTy avatar LukasTy commented on June 24, 2024

Thank you for creating this issue. 🙏
Have you looked at the shouldRespectLeadingZeros prop? 🤔
Here is the documentation for the mentioned prop.

It should help you see the desired result, based on the format, but be aware that it will have implications if you rely on HTML form data value parsing.
If you only rely on the generic value/onChange API, there shouldn't be any implications. 👌

@flaviendelangle Do you agree that it would be worth having a documentation section about it?
It might already be a 3rd issue regarding this topic... 🙈

from mui-x.

cmark1302 avatar cmark1302 commented on June 24, 2024

@LukasTy

Also, when i try to type 12 in MM, it enters as 01 in MM and 02 in DD

from mui-x.

LukasTy avatar LukasTy commented on June 24, 2024

Also, when i try to type 12 in MM, it enters as 01 in MM and 02 in DD

Please provide a minimal reproduction test case with the latest version. This would help a lot. 🙏
A live example would be perfect. This codesandbox.io template may be a good starting point. Thank you!

flaviendelangle Do you agree that it would be worth having a documentation section about it?
It might already be a 3rd issue regarding this topic... 🙈

Sorry for the confusion. I somehow forgot about this section... 🙈

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.