imask.js ile maskeleme
imaskjs
vanilla javascript input mask
Features
- get and set value and unmasked value easily
- no external dependencies
- Supports all major browsers and IE11+ *need older?
- RegExp mask
- Function mask
- Number mask (integer and decimal support)
- Date mask (with various format support)
- Dynamic/on-the-fly mask
- Pattern mask
- show placeholder always or when needed
- unmasked value can contain fixed parts
- optional input parts (greedy)
- React/Angular/Vue plugins
Further Plans
- React Native plugin
- dynamic pattern groups
- more unit tests