Vue directive that allows you to confirm password.
npm i v-show-password-input --save
<input type="password" v-show-password-input>
You also can use this directive with v-model
like so.
<input type="password" v-show-password-input v-model="inputValue">
<script>
new Vue({
el: '#app',
data: {
inputValue: ''
}
})
</script>
IE and edge have a feature that allows you to confirm password inputted by default.
So, if you would like to use v-show-password-input
in their browsers, please add the followings to disable the standard feature.
<style>
::-ms-clear { display: none; }
::-ms-reveal { display: none; }
</style>
This package is licensed under the MIT License.
Copyright 2018 Sukohi Kuhoh