plwalters / aurelia-validate.js

An Aurelia plugin for validate.js expressive validation.
MIT License
5 stars 1 forks source link

Add decorator to allow multiple field validations on same property #1

Open plwalters opened 8 years ago

plwalters commented 8 years ago

Should look something like this -

@field({ length: { minimum: 3, maximum: 5}, required: true }) firstName = 'Patrick';