We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is there way to set mask programmatically? (mask:mask="+7(###)###-##-##")
The text was updated successfully, but these errors were encountered:
Hi! You can apply the mask programmatically with this : inputEditText.setMask("##.###.###");
inputEditText.setMask("##.###.###");
But the mask will not get applied until you set some text. Personally I fix that problem by calling setText("") right after setting the mask.
setText("")
Also, if you want a hint to be applied on the mask you can use
inputEditText.setKeepHint(true); inputEditText.setHint("00000");
bertween the call to setMask(...) and setText(...).
Sorry, something went wrong.
No branches or pull requests
Is there way to set mask programmatically? (mask:mask="+7(###)###-##-##")
The text was updated successfully, but these errors were encountered: