insin / inputmask-core

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

Wrong getRawValue function behaviour #27

Open mifopen opened 7 years ago

mifopen commented 7 years ago

Documentation:

var mask = new InputMask({pattern: '1111 1111', value: '98781'})
mask.getValue()
// → '9878 1___'
mask.getRawValue()
// → '98781'

Reality:

var mask = new InputMask({pattern: '1111 1111', value: '98781'})
mask.getValue()
// → '9878 1___'
mask.getRawValue()
// → '98781___'
rbayley commented 5 years ago

Hi, I noticed this is still an issue. Any update ? My version "^2.2.0"

regards