Is there a way to optionally mask characters? #167
Unanswered
brandonleichty
asked this question in
Q&A
Replies: 1 comment 4 replies
-
You can create custom token to allow <input v-maska data-maska="################" data-maska-tokens="#:[•0-9]"> |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello 👋
I'm wondering if there's a way to optionally mask characters using Maska?
For example, let's say we have a fake credit card number like this:
4012888888881881
.Is there a way to apply a mask with a character such as
•
so that the card number looks like:••••••••••••1881
?I'd like to ideally be able to toggle between
4012888888881881
and••••••••••••1881
being displayed (maybe some Maska attribute could be added/removed)?Thank you! 🙏
Beta Was this translation helpful? Give feedback.
All reactions