inputmask-core icon indicating copy to clipboard operation
inputmask-core copied to clipboard

Wrong getRawValue function behaviour

Open mifopen opened this issue 8 years ago • 1 comments

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___'

mifopen avatar Oct 20 '16 08:10 mifopen

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

regards

rbayley avatar Oct 03 '18 22:10 rbayley