Set of input tools for formatting
This project allow to create masked inputs easily.
In real world you often need to create input for credit card, phone number or birthday date etc.
Each of this usecases require to input value with some formatting (for example 0000-0000-000-0000 for credit card). This project could help you.
Watch demo: http://xnimorz.github.io/masked-input/
Components
input-core
If you want to use only core without input decorators:
npm install --save input-core
or
yarn add input-core
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -m 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
Changelog
1.0.0 several changes:
- From this moment all of tools will have similar version
- Added examples using components with another libs, such as
styled-components
- Improved demo page
- Improved readme
0.1.2 Fix bug with uncorrect removing symbols range
0.1.1 Fix bug with removing static symbol
0.1.0 First publish
TODO
- Cover all input-core with unit tests
- Dynamically change props in demo page
License
MIT