mesemus / vuelidate-property-decorators

A thin wrapper of vuelidate library to simplify its usage with vue-class-component or vue-property-decorator.
https://github.com/mesemus/vuelidate-property-decorators
MIT License
27 stars 5 forks source link

Working example #2

Closed Dalecarlia closed 4 years ago

Dalecarlia commented 4 years ago

Could you please add a working example? For example an input with a maxLength and display a custom message to the user.

mesemus commented 4 years ago

An example has been added to the "example" directory. It shows:

  1. How to set up a project
  2. Using built-in required and maxLength validators
  3. Using a custom validator