Show placeholder characters always #181
FirstVertex
started this conversation in
Ideas
Replies: 2 comments
-
I'm also looking for this feature -- migrating from vue-text-mask, which has a similar option. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Implementing placeholder option for mask in pretty hard task, especially for dynamic and complex ones. I have no plans for such feature. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I've been evaluating various masked input libraries for the last couple of days, and came across Maska, which looks promising.
The only issue is that I can't seem to get the placeholder characters to always be visible, even when the input is empty, or partially filled. This is how our old library (ngx-mask) works (triggered by input of
{ showMaskTyped: true }
and I noticed imask has a similar feature which is activated with{ lazy: false }
. It has also an input for{ placeholderCharacter: ' ' }
which by default is_
and I was able to customize to "space" to match our design system requirements.An example would be, for a SSN input, it would always show the dashes, when empty, partially filled, or filled.
If I somehow missed how this is triggered with the current api, please direct me to the doc for it, otherwise, thanks in advance for considering it as a new feature ✌️
Beta Was this translation helpful? Give feedback.
All reactions