Replies: 1 comment 3 replies
-
Not sure what you mean by «standard» way, but I doubt the need to implement this functionality because I want to keep Maska small and simple. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Example:
For the phone input mask +1 (###)..., user starts to type 2 and gets +1 (2
Would be possible to show to user the entire placeholder, not just already completed part? E.g.:
user starts to type 2 and gets +1 (2 ) and user continues to type area code inside the brackets. (BTW, as you can see, the space occupied by regular spaces does not equal to the space of characters, so we probably need special Unicode spaces here).
Honestly, the "standard" way is very easy to implement without any plugins, it's just few lines of code. The latter example is way more complex and I can't find a ready-to-use library for that. If Maska can't do that, could you please share your thoughts why and possible better way to implement such feature?
Beta Was this translation helpful? Give feedback.
All reactions