andr-04 / inputmask-multi

http://andr-04.github.com/inputmask-multi/
253 stars 106 forks source link

Validation #11

Closed chrisphilton closed 9 years ago

chrisphilton commented 9 years ago

How do you determine whether the full input has been given?

andr-04 commented 9 years ago

The callback function onMaskChange has a second parameter which is indicate that typed text corresponds to mask which has only masked (or decorator) symbols on the suffix. If such masks more than one then used the mask with longest prefix.