Input mask
See original GitHub issueHi!
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:
- Created 7 years ago
- Reactions:4
- Comments:15 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.@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>