GithubHelp home page GithubHelp logo

Comments (4)

DiegoAndai avatar DiegoAndai commented on April 28, 2024

Hey @AlexWeinstein92, have you checked out the "Integration with 3rd party input libraries" section from the TextField docs? There's an example that uses react-imask. I hope this helps.

from material-ui.

AlexWeinstein92 avatar AlexWeinstein92 commented on April 28, 2024

@DiegoAndai imask integration I found difficult to figure out, and time was of the essence when I created this. It's a small issue where I need to spend 10-20 mins figuring out what I found difficult. I will try to get to it tomorrow Monday morning but can't promise for sure :)

from material-ui.

AlexWeinstein92 avatar AlexWeinstein92 commented on April 28, 2024

It turns out I was mistaken as to what imask even does. I was looking for password masking, not phone number and things like that.

Ideally for credit cards I would be able to mask only the first 12 digits, so that users can see their last 4 digits. Would there be any way to accomplish this using imask or other libraries? This thread can be closed even if there is no further advice to offer

from material-ui.

DiegoAndai avatar DiegoAndai commented on April 28, 2024

Ideally for credit cards I would be able to mask only the first 12 digits, so that users can see their last 4 digits.

You should be able to achieve that using imask. I would recommend checking out their documentation. Closing this issue, feel free to reopen if something is not working on the Material UI side.

from material-ui.

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.