question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hi!

When there may be work masks in md-input example:

<md-input-container>
    <input mdInput MASK='/[0-9]/' >
</md-input-container>

Thank you!

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:4
  • Comments:15 (5 by maintainers)

github_iconTop GitHub Comments

37reactions
jelbourncommented, Apr 12, 2017

We don’t have any plans to add input masking in the short term. However, since the material input is just a regular input, you should be able to use an existing solution for this.

14reactions
alexKnyshcommented, Mar 7, 2017

@donroyco, understood me wrong. I mean using regular expressions or masks, for example:

<md-input-container> <input mdInput MASK='/[0-9]{3} [0-9]{5}/' > </md-input-container>

or example:

<md-input-container> <input mdInput MASK='99.99.9999' > </md-input-container>

or example:

<md-input-container> <input mdInput MASK='+7 (999) 999 99 99' > </md-input-container>

Read more comments on GitHub >

github_iconTop Results From Across the Web

Control data entry formats with input masks - Microsoft Support
An input mask is a string of characters that indicates the format of valid input values. You can use input masks in table...
Read more >
Input Masking | CSS-Tricks
I don't have any UX research to cite, but anecdotally, I like it when inputs that expect data in a specific format use...
Read more >
Input mask - Wikipedia
In computer programming, an input mask refers to a string expression, defined by a developer, that constrains user input. ... It can be...
Read more >
RobinHerbots/Inputmask: Input Mask plugin - GitHub
Inputmask is a javascript library that creates an input mask. Inputmask can run against vanilla javascript, jQuery, and jqlite. An inputmask helps the...
Read more >
Create an Input Mask - CustomGuide
1. In Design View, click the field you want to create an input mask for. 2. Click the Input Mask box. You can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found