PeterStaev / nativescript-masked-text-field

:hash: A NativeScript Masked Text Field widget
Apache License 2.0
25 stars 24 forks source link

It doesn't work with keyboardType "number" #34

Closed Selminha closed 5 years ago

Selminha commented 5 years ago

I'm trying to use MaskedTextField with keyboardType "number" and mask "999.999.999-99", but it doesn't work. It works if I use other mask like this "(999) 999999" or keyboardType "phone"

PeterStaev commented 5 years ago

Hey @Selminha , please provide more details like what platform are you testing this on, what {N} version are you using, is it an angular based or not.

Best option will be to provide a reproducible example on the NativeScript Playground.

Selminha commented 5 years ago

Hi, I'm testing on android 8.0, {N} version 5.3.1 and it isn't angular based. Sorry I'm not using playground so I don't have any example to provide right now. I will try to prepare an example on playground and I put it here as soon as I have it.

PeterStaev commented 5 years ago

Here is a link to a plyground that demonstrates the problem: https://play.nativescript.org/?template=play-tsc&id=3TrL4w&v=2

Happens on Android only.

PeterStaev commented 5 years ago

Hey @Selminha , this should now be resolved with the new version just pushed on npm (4.0.2)