vue-input-restriction-directives

1.2.2 • Public • Published

Vue-Input-Restriction-Directives

npm version

Set of useful vue directives to add text restriction to your input

  • No keyboard key validation, just regular expression
  • No render delay in typing

Usage

main.js:

 
import VueInputRestrictionDirectives from 'vue-input-restriction-directives';
 
Vue.use(VueInputRestrictionDirectives);
 
<input type="text" v-numeric-only />       // for only number input
<input type="text" v-alphabetic-only />    // for only alphabetic input
<input type="text" v-uppercase-only />     // for only uppercase input
<input type="text" v-lowercase-only />     // for only lowecase input
<input type="text" v-max-length="10" />    // for limit number of characteres input

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.2.215latest

Version History

VersionDownloads (Last 7 Days)Published
1.2.215
1.2.11
1.2.01
1.1.01
1.0.01

Package Sidebar

Install

npm i vue-input-restriction-directives

Weekly Downloads

19

Version

1.2.2

License

ISC

Unpacked Size

6.03 kB

Total Files

4

Last publish

Collaborators

  • josueaqp92