niksmr / vue-masked-input

Masked input component for Vue.js
https://niksmr.github.io/vue-masked-input/
MIT License
454 stars 92 forks source link

Exception Swallowing in MaskedInput.js #34

Open SOFSPEEL opened 7 years ago

SOFSPEEL commented 7 years ago

In https://github.com/niksmr/vue-masked-input/blob/master/src/MaskedInput.js the exception is swallowed so user is not aware of why "Error" is shown as input value.

Here is the code in question: image

Suggested fixes: