Open romulowspp opened 7 years ago
Hey @Ablankzin , this seems to be an issue with the NS Angular implementation specific to the format of the mast and that it is automatically converted by the runtime to a number. So in the plugin I receive the value as the number 0
and not as the string 000
.
I've logged an issue: https://github.com/NativeScript/nativescript-angular/issues/854 so we will see what will happen.
Sadly currently I do not have a workaround for this, except to change your mask to have at least one non-digit character, so that it does not get converted by the runtime...
I made a little change to temporarily support mask 9.
I've run into this before and temporarily solved this issue by inserting a zero-width space between two of the zeros.
I'm using the version for the angular. I followed all the steps that have been described here.
But when my page loads I get the following error:
The html:
<MaskedTextField col="2" class="text-field text-field-bordered" mask="000" keyboardType="number"></MaskedTextField>
Thanks.