-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crashes while deleting the characters #117
Comments
Hey @BenazirSh You've got to follow the bug report format when creating an issue; otherwise I'm going to close this by EOD. |
Describe the bugThe application crashes when I delete the characters set in mask Steps to reproduce the behaviour:
Expected behaviour Actual behaviour Screenshots Platform information
|
Let me know if version Also, please take a look at this section of our main README, the suggestion is to add the
<EditText
android:inputType="number"
android:digits="0123456789 -."
... />
editText.setInputType(InputType.TYPE_CLASS_NUMBER);
editText.setKeyListener(DigitsKeyListener.getInstance("0123456789 -.")); // modify character set for your case, e.g. add "+()" |
Thanks for the reply. For some reason, after upgrading the version to 6.1 , the library does not work for me... |
Also, I noticed one behavior. Since my mask contains pre-defined numbers, 998, that is +998 [00] [000]-[00]-[00] .When I type 9 or 8 after deleting characters, it does not get displayed at once, I should press it twice. I think it has to do with my mask containing 9 and 8, because when I set my mask to +76 [00] [000]-[00]-[00], I noticed the same behaviour but with numbers 7 and 6 |
Hello! I have setHint as +998, when user enters numbers and deletes it, the following error is shown:
The text was updated successfully, but these errors were encountered: