0

I looking for VueJS 2 text input mask, I didn't find anything useful after research.

I would like to mask user input, e.g.

192.169.0.1/32 

I found vue library like v-mask, but it is only for npm, when I do not using it.

Am I missing something?

1 Answer 1

1

Inputmask library and jQuery

One of the solution is inputmask library in combination with jQuery to manipulate with DOM elements. As you mention that you don't use npm, you need to include script in right order:

<script src="jquery.js"></script>
<script src="inputmask.js"></script>
<script src="inputmask.extensions.js"></script>

Working example: jsFiddle

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.