insin / inputmask-core

Standalone input mask implementation, independent of any GUI
MIT License
304 stars 52 forks source link

Add new parameter to a validate() function for custom format chars #17

Open andrew--r opened 8 years ago

andrew--r commented 8 years ago

It's especially useful when you need to validate character in dependence on current value.

iamdustan commented 8 years ago

Hey @andrew--r,

Two things:

  1. Could you add tests demonstrating the new behavior
  2. Revert the es6 module -> commonjs change.