adopted-ember-addons / ember-inputmask

Ember wrapper around Inputmask.js
https://adopted-ember-addons.github.io/ember-inputmask/
MIT License
68 stars 45 forks source link

Uncaught TypeError: Cannot read property 'radixPoint' of undefined #7

Open jackmatt2 opened 9 years ago

jackmatt2 commented 9 years ago

When I run

{{number-input class="form-control" unmaskedValue=vehicleService.cost group=true groupSize=3 separator="," decimal=false radix="."}}

I get the following error when I hit the backspace key:

Uncaught TypeError: Cannot read property 'radixPoint' of undefined
a.extend.numeric.canClearPosition @ jquery.inputmask.bundle.min.js:11o @ jquery.inputmask.bundle.min.js:8R @ jquery.inputmask.bundle.min.js:9S @ jquery.inputmask.bundle.min.js:9a.each.a.each.b.handler @ jquery.inputmask.bundle.min.js:8jQuery.event.dispatch @ jquery.js:4670jQuery.event.add.elemData.handle @ jquery.js:4338
brandynbennett commented 5 years ago

Backspacing with a radix symbol defined doesn't throw an error on one-way-number-mask now, best I can tell.